So the whole while statement seems redundant.
Yeah. This would probably be better:
{ my( ... ) = @{ $iter->next // last }; ... redo; }
At least the exit and the cause of the exit is clear.
In reply to Re^4: Unconventional exit from while loop
by BrowserUk
in thread Unconventional exit from while loop
by hdb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |