P is for Practical | |
PerlMonks |
Re^5: Analyzing Perl Codeby Jenda (Abbot) |
on Sep 19, 2012 at 21:45 UTC ( [id://994548]=note: print w/replies, xml ) | Need Help?? |
I've never used Debug::Trace and it's ages since I used Debug::TraceSubs for the last time so I can't comment. To minimize the changes to the code you can put all the Devel::TraceSubs related code into a separate file and add just require 'that_file.pl'; into the source, under the use statements. It's not perfect, but the $devel_tracesubs->trace() needs to run after all the subroutines you want to track were loaded and defined. Jenda
In Section
Meditations
|
|