Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^7: [perldebugger] calling perldoc from within the debugger (REPL) (THX!)by pemungkah (Priest) |
on Sep 03, 2009 at 17:22 UTC ( [id://793251]=note: print w/replies, xml ) | Need Help?? |
What you're seeing here is an 'x' of the print's return value, which is of course 1 since the print succeeded. We can expand the replacement eval with a crude check for the function being a print, in which case we leave $onetimeDump off.
In Section
Seekers of Perl Wisdom
|
|