in reply to Re^2: reading file into an array
in thread reading file into an array

For an array @array, $#array gives the index of the last item in the array. It's a minor piece of cryptic Perl syntax.

G. Wade