Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^5: Analyzing Perl Code

by Jenda (Abbot)
on Sep 19, 2012 at 21:45 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://994548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-25 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found