my @array = qw{zero one two}; for my $i (0..$#array){ print qq{$i\t$array[$i]\n}; }
In reply to Re^3: Automatic Loop Counter not in perl
by wfsp
in thread Automatic Loop Counter not in perl
by b4swine
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |