in reply to (ar0n) Re: how to get the size of a 2D array
in thread how to get the size of a 2D array

i like it, or:
$num += scalar @{$_} for @array;
:)