$scalar= @array will give you the number of rows (or columns, depending on your convention) and $scalar= @{$array[$i]} will give you the width (or length) of row (or column) number $i.
There is no single width as each row can have a different width.
- tye (but my friends call me "Tye")In reply to (tye)Re: Length of 2-dimensional array
by tye
in thread Length of 2-dimensional array
by feloniousMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |