in reply to Re: Error when trying to loop through DB and run a script
in thread Error when trying to loop through DB and run a script

I got the error from the script, i always use warnings and diagnostics to debug, its a pain otherwise :) thanks though
  • Comment on Re^2: Error when trying to loop through DB and run a script

Replies are listed 'Best First'.
Re^3: Error when trying to loop through DB and run a script
by roboticus (Chancellor) on Apr 03, 2007 at 16:43 UTC
    ikkon:

    You might want to try the perl debugger. I've only used it recently (due to a recent thread about it), and find it very easy to use for problems like this. Just invoke your script like:

    perl -d script_name.pl and then you can set a breakpoints, step through the code, display variable values, etc.

    ...roboticus