See "do" in perlfunc. Note also that the loop control statements described later will NOT work in this construct, because modifiers don't take loop labels. Sorry. You can always put another block inside of it (for "next") or around it (for "last") to do that sort of thing. For "next", just double the braces:
do {{ next if $x == $y; # do something here }} until $x++ > $z;
In reply to Re: exiting via next: Extra careful or just bitchy?
by saintmike
in thread exiting via next: Extra careful or just bitchy?
by vacant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |