Keep It Simple, Stupid | |
PerlMonks |
Re^3: Avoiding silly programming mistakesby kyle (Abbot) |
on Aug 29, 2008 at 17:56 UTC ( [id://707803]=note: print w/replies, xml ) | Need Help?? |
I like the if ( 0 == $foo ) construct over if ( $foo == 0 ) because the s/==/=/ typo is an error in the first but not the second.
I'd rather have that than some mere warning.
In Section
Seekers of Perl Wisdom
|
|