how to debug?
Simplest way I know is: Devel::Trace. It's a single, pure perl file, so installation is as simple and copy&paste if need be; and the just run your script using:
perl -d:Trace yourScript.pl
It will trace out all the lines of your script and all the modules it uses, until it terminates; the last line of the trace will tell you where it stopped, and that's 90% of the battle in working out why?
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.
In the absence of evidence, opinion is indistinguishable from prejudice.
|