in reply to Re^2: Breaking from a foreach loop, returning to position
in thread Breaking from a foreach loop, returning to position
Given an index $i, you can access the associated entry in an array with $array[$i]. See Arrays in perlintro, and consider picking up a copy of Introduction to Perl, or peruse http://learn.perl.org/books/beginning-perl/ for a free resource.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|