in reply to dies with no message
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?
|
|---|