in reply to How do I find the size of an array?
You can also get the last index of an array_ref: my $index = $#{$array_ref}
Originally posted as a Categorized Answer.
|
---|
In Section
Seekers of Perl Wisdom