P is for Practical | |
PerlMonks |
Re: Stupid mistakes I repeatedly makeby itub (Priest) |
on Mar 27, 2005 at 15:33 UTC ( [id://442629]=note: print w/replies, xml ) | Need Help?? |
I've made most of those errors at least once, but the most common for me is the last one (my( $n, $m, $o ) = shift;). By now I've tried to standardized on my ($n) = @_ even for one parameter, but when I change code that has shifts I often forget.
It would be interesting to set up a poll titled "The stupid mistake that I make most often" with some of the errors discussed in this thread.
In Section
Meditations
|
|