in reply to Pattern matching and setting the match to a variable

for (my $i=0; $i<=$#my_data;$i++)
isn't as clear as (and no more efficient than)
for my $i (0 .. $#my_data)
And more specifically,
for ($i=0; $i<=$#my_data;$i++) {print $my_data[$i], "\n"; }
can simply be written as
for (@my_data) {print $_, "\n"; }