Installed perl-debug, still get error with -D flag

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post May 25th, 2010, 4:51 am

If you find yourself on a Ubuntu system, after having installed the perl-debug package like so,

BASH Code: [ Select ]
#sudo apt-get install perl-debug


and when you try to use perl with the -D flag it still tells you

Code: [ Select ]
Recompile perl with -DDEBUGGING to use -D switch (did you mean -d ?)


try using debugperl -D ... instead of perl -D ... or perldebug -D ...

BASH Code: [ Select ]
debugperl -Dr -e '/^([^.]+)$/'


I just spent about an hour tracking that down. Everything seemed to tell me I should use perl, or perdebug. Not the other way around like what actually worked for me. :)
Strong with this one, the sudo is.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 25th, 2010, 4:51 am

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 149 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.