Please consider putting the loop in a sub, thus:
sub foo() {for(1..10) {return 0 if ...; } 1 } if (foo()) {...}
and giving the sub a meaningful name
In reply to Re: while loop question
by philiprbrenan
in thread while loop question
by Freezer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |