I think most would write this using the three argument for() statement:
my $number1 = 1; my $number2 = 10; for (my $i = $number1; $i <= $number2; $i++) { print "$i\n"; }
Jenda
Enoch was right!
Enjoy the last years of Rome.
In reply to Re^6: SIMPLE way to write these?
by Jenda
in thread SIMPLE way to write these?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |