http://www.perlmonks.org?node_id=304345


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.

  • Comment on Re: How do I find the size of an array?