NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Feel cleaner with $^P... (Score:1)
Try this:
$^P &= ~0x100; # disable informative "file" names for evals
$^P &= ~0x200; # disable informative names for anonymous subroutines
Reply to This
Re: (Score:2)
Thank you! That's much nicer. Where in the docs can I look that up? I only knew about $DB::i_m_init by doing x \%DB:: while in the debugger.
Re: (Score:2)
Ah, never mind. I see it now with perldoc -A '$^P' (you need the new Pod::Perldoc for that switch, though I see the latest version has switched that to -v).