Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^5: Analyzing Perl Code

by Jenda (Abbot)
on Sep 19, 2012 at 21:45 UTC ( #994548=note: print w/replies, xml ) Need Help??


in reply to Re^4: Analyzing Perl Code
in thread Analyzing Perl Code

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
Enoch was right!
Enjoy the last years of Rome.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994548]
help
Chatterbox?
[Lady_Aleena]: SOB! Now I'm really trying to get qx(mp3info -p "%S" $file) but the spaces in the filenames are kicking my butt.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2017-04-23 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (433 votes). Check out past polls.