|
|
| laziness, impatience, and hubris | |
| PerlMonks |
RE: My favorite looping mechanism in Perl is:by merlyn (Sage) |
| on May 09, 2000 at 16:59 UTC ( #10748=note: print w/ replies, xml ) | Need Help?? |
|
My favorite construct is the naked block, together with redo and last to trigger restart and exit: There... we've got a middle-exiting loop, guaranteeing at least one execution of the first part. Who says we don't have an easy "do-while" loop!
In Section
Past Polls
|
|
||||||||||||||||||||||