|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Analyzing Perl Codeby BrowserUk (Pope) |
| on Sep 19, 2012 at 23:02 UTC ( #994558=note: print w/ replies, xml ) | Need Help?? |
|
Put the following code in a file called: /yourperl/site/Devel/Calls.pm:
And then invoke your scripts with perl -d:Calls yoursript.pl You'll get a trace showing file, line and subroutine name whenever a subroutine is entered, something like:
That could obviously be greatly extended, but it may be just what you're looking for. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Meditations
|
|
||||||||||||||||||||