Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 chanting in the Monastery: (7)
As of 2015-07-06 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls