note
jplindstrom
Always, always <b>print variables with visible delimiters</b> so it's crystal clear when the values contain white space.
<p>
<code>
print "title: ($title)\n";
print "title: '$title'\n";
</code>
<p>
This goes for log files too, or anything that isn't presented to end users, really.
<p>
In general, a good mindset when composing error reports or debug info is to spend five extra seconds to <b>consider what the programmer is going to need to diagnose or recover from the problem</b>.
<p>
/J
744845
744845