Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: RFC: Basic debugging checklistby jplindstrom (Monsignor) |
on Feb 19, 2009 at 00:26 UTC ( [id://744919]=note: print w/replies, xml ) | Need Help?? |
Always, always print variables with visible delimiters so it's crystal clear when the values contain white space.
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
In Section
Meditations
|
|