Or also due to the same Perl oddness OP could:
my @arr = (0,1,2); my @nested = (3,4,\@arr); print scalar @{$nested[2]};
Prints:
3
In reply to Re^2: determining length of multidimensional arrays
by GrandFather
in thread determining length of multidimensional arrays
by scuffell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |