Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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.


Comment on Re^5: Analyzing Perl Code
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2014-12-20 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (96 votes), past polls