Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: RFC: Basic debugging checklist

by jplindstrom (Monsignor)
on Feb 19, 2009 at 00:26 UTC ( #744919=note: print w/replies, xml ) Need Help??


in reply to RFC: Basic debugging checklist

Always, always print variables with visible delimiters so it's crystal clear when the values contain white space.

print "title: ($title)\n"; print "title: '$title'\n";

This goes for log files too, or anything that isn't presented to end users, really.

In general, a good mindset when composing error reports or debug info is to spend five extra seconds to consider what the programmer is going to need to diagnose or recover from the problem.

/J

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2022-01-29 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?