my @list=(a,b,c,...z); // or whatever is in your list for (my $i=0;$i<$#list;$i+=5) { my $val = $list[$i]; ... }
In reply to Re: foreach .. stepping?
by dreadpiratepeter
in thread foreach .. stepping?
by meetn2veg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |