you must dereference the arrayref$length = $#{$Hash{$key}}+1; # I think will work # or $length = @{$Hash{$key}}; #I know will work
In reply to Re: Array length within a hash
by suaveant
in thread Array length within a hash
by TStanley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |