What about until? I voted for while, in any case, because I can trivally (if annoyingly) make for loops with while, but the other way 'round is not so easy.
my $counter = 0; while ($counter <= 5) { print $counter; $counter++; }
In reply to Re: If I was forced to use only one kind of loop for the rest of my days it would be a
by radiantmatrix
in thread If I was forced to use only one kind of loop for the rest of my days it would be a
by collin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |