$#array is not the size of @array, it's the highest numbered index of @array. @array in scalar context is the size of the array.</pedant>
In reply to Re: Finding size of an array in an HoA
by Fletch
in thread Finding size of an array in an HoA
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |