-Syn0$j=23; $x = 0; LABEL: for ($i=$j; $i<=$#array; $i++) { print "top of loop: \$i = $i\n"; print "interation $x\n"; $x++; if ($array[$i] eq "blah") { print "\$i is blah\n"; last LABEL; } elsif ($i == $#array) { print "\$i == $#array\n"; $i = 0; next LABEL; } else { next LABEL; } }
In reply to Re: Can I do this?
by synapse0
in thread Can I do this?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |