I would do something like:
sub foo { # do things return (1 and (complex condition)) } while (main condition) { # do things last if foo; # do more things }
In reply to Re: next and last within subs
by RonW
in thread next and last within subs
by xorl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |