I have a complex array like this:
my %a = (one => [ ['a','b'],['c','d'] ])
My question is how do I find the length of $a{one}, which is 2 in this case. I have tried scalar(@a{one}) and some other things.
scalar(@a{one}) gives ARRAY(0x805e654)
Thanks, Dave
In reply to Array length by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |