my @ary = ( [12,13,14,15], [67,68,69,70,71]); print scalar(@{ $ary[1] }); $var = @{ $ary[1] }; print $var;
In reply to Re: how to get the size of a 2D array
by agoth
in thread how to get the size of a 2D array
by richmusk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |