in reply to Perl style question: loops with postcondition
There's also the issue that the first form is guaranteed to iterate through the loop at least once which isn't always ideal.while(1) { ... } continue { last unless $condition; }
_________
broquaint
|
|---|