or maybe:foreach my $foo (@bar) count $c { print $c . "-> " . $foo; }
foreach my $foo (@bar) counting $c { print $c . "-> " . $foo; }
In reply to Re: Re: foreach count variable
by dreamy
in thread foreach count variable
by dreamy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |