for my $entry (@somearray) { ... if ($x > $stop) { last; } elsif ($y ne $text) { foobar(); } else { next; } ... } continue { # increment a count # print some debug info # ...a few other things }
In reply to Re: next and last within subs
by hexcoder
in thread next and last within subs
by xorl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |