Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Accessing an AoHoAoHby robartes (Priest) |
on Jun 05, 2004 at 19:32 UTC ( [id://361659]=note: print w/replies, xml ) | Need Help?? |
Just to make things clear (well, it had me stumped for awhile), calin means replacing the () in the values of your page hashes by []. That way, you're assigning an anonymous array to the value of the hash, instead of a list, as you are currently doing. BTW, the @AoH assignment throws a warning:
That is because of the parentheses instead of square brackets. As to your second question: it's an array of hashes one of whose values is an array of hashes. So, in a sense, it is a AoHoAoH :) CU
In Section
Seekers of Perl Wisdom
|
|