in reply to What does $#variable mean?
$#SORTEDLENDERS indicates that there's an array @SORTEDLENDERS. The $#arrayname syntax holds the index of the last member of an array.
my @array = ('foo', 'bar', 'baz'); # $#array = 2 # because Perl's array indexes start at 0
|
---|