![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: Perl style question: loops with postconditionby broquaint (Abbot) |
on Jun 28, 2002 at 10:05 UTC ( [id://177978]=note: print w/replies, xml ) | Need Help?? |
In general I use the second form which I guess is because of my C influenced learning. But having given it a second of thought I may switch to using a continue block as it's seems the most natural e.g
There's also the issue that the first form is guaranteed to iterate through the loop at least once which isn't always ideal. HTH
_________
In Section
Seekers of Perl Wisdom
|
|