![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re^2: Using Data::Printer from the Perl debuggerby ibm1620 (Hermit) |
on Mar 02, 2023 at 02:42 UTC ( [id://11150686]=note: print w/replies, xml ) | Need Help?? |
Using pure guesswork, I made one change to DB::Pluggable::Plugin::DataPrinter.pm:
Now the p command prints its argument only once. I inserted print $cmd; before eval $cmd, entered p $my_var in the debugger, and it printed "p $my_var". Apparently the eval was unnecessary. FWIW.
In Section
Seekers of Perl Wisdom
|
|