You can write it as print "before\n"; while( 1 ){ print for 1 .. 10; last } print "after\n"; its still the same codeprint "before\n"; while( 1 ){ print for 1 .. 10; last } print "after\n";
In reply to Re: while loop question
by Anonymous Monk
in thread while loop question
by adriang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |