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


in reply to How do I find the size of an array?

$length=($#array+1)