The stupid question is the question not asked | |
PerlMonks |
Re^4: Changing every subroutine in many perl scriptsby GrandFather (Saint) |
on Jul 25, 2012 at 22:24 UTC ( [id://983745]=note: print w/replies, xml ) | Need Help?? |
The loop would be better written:
The next if ... saves a level of indentation and is easier to understand (at least for me) than an unless. Using a Perl style for loop in place of the C style for loop is easier to read, easier to understand, more compact and much less likely to get wrong.
True laziness is hard work
In Section
Seekers of Perl Wisdom
|
|