note
allolex
<p>
OK, now that we know what version you're running, go ahead and add these things at the top of your programs for the time being:
</p>
<code>
use strict; # Helps to prevent a few common coding
# "mistakes"
use warnings; # Turns on "lexically-scoped" warnings,
# a bit better than -w
use diagnostics; # Makes error messages more helpful
</code>
<p>
If I had known about Diagnostics from the beginning, I would have saved myself so much work... ;)
</p>
<p><strong>Update:</strong> Fixed improper capitalization as pointed out by the nice AM.</p>
<div class="pmsig">
<div class="pmsig-211693">
<p>
--<br />
Damon Allen Davison<br />
<a href="http://www.allolex.net">http://www.allolex.net</a>
</p>
</div>
</div>
348009
348029