in reply to Finding size of an array in an HoA

$#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>