here is another way to have a step in this kind of loop:
for my $i (map { $_ * 2 } 0..40/2){ ... }
In reply to Re^3: How Perl can push array into array and then how retrieve
by bliako
in thread How Perl can push array into array and then how retrieve
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |