Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Tracking down the line in error or warning

by RyuMaou (Deacon)
on Mar 24, 2009 at 13:52 UTC ( #752873=note: print w/ replies, xml ) Need Help??


in reply to Re: Tracking down the line in error or warning
in thread Tracking down the line in error or warning

Yeah, I was going to throw that in, too. Some well placed print statements can really make debugging easier.

Also, and this may be obvious, but a text editor that shows the line numbers and highlights code can be a big help, too. Scanning through huge scripts looking for all the opening and closing brackets on functions is a lot easier when code is all pretty. It's embarrassing to me how many times my errors have just been one too many, or too few, brackets, parenthesis, or some similar typo.


Comment on Re^2: Tracking down the line in error or warning

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://752873]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2014-11-24 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (141 votes), past polls