perl -e "$array[345][10]=1;$array[2][65535]=1; print qq($#array x ),ma +p{scalar @$_ -1}(sort{scalar @$b<=>scalar @$a}@array)[0]" 345 x 65535
Dunno why i needed to swap $a and $b ..
L*
In reply to Re: Max dimensions of multi-dimensional array -- oneliner
by Discipulus
in thread Max dimensions of multi-dimensional array
by ravi45722
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |