Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Error when trying to loop through DB and run a script

by ikkon (Monk)
on Apr 03, 2007 at 16:32 UTC ( #608097=note: print w/ replies, xml ) Need Help??


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
Re^3: Error when trying to loop through DB and run a script
by roboticus (Canon) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://608097]
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 2014-12-27 18:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls