for my $i (0 .. $#list){ print "index = $i"; print "value = $list[$i]"; } [download]
In reply to Re: Index in For loop by c-era in thread Index in For loop by perchance