in reply to Array length within a hash
with this line:$length = $Hash{$key};
Remember that you're storing references to the arrays as the values of your hash. You need to dereference those values...$length = @{$Hash{$key}};
-Ton
-----
Be bloody, bold, and resolute; laugh to scorn
The power of man...
|
|---|