|
|
| No such thing as a small change | |
| PerlMonks |
Re: Hash of a nArray and all that comes with it.by moritz (Cardinal) |
| on Jul 28, 2012 at 05:43 UTC ( #984149=note: print w/ replies, xml ) | Need Help?? |
|
I hope that's not what you're doing, because that assigns a hash reference to a hash without dereferencing. As long as I give an explicit value for $j's range, the output is fine. But I cannot figure out how to access the arraysize for $entry[$i]
gives you the length of the $i array stored at $key. And I think you're missing the part of your code where you assign to @entry, I can't see how you'll get any output like this. @entry = @{ $entry{$key} } should fix it.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||