Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Dereferencing array of hashesby monkini (Initiate) |
on Nov 11, 2013 at 18:42 UTC ( [id://1062040]=perlquestion: print w/replies, xml ) | Need Help?? |
monkini has asked for the wisdom of the Perl Monks concerning the following question: I am trying to loop over each array element with nested loop over the hash keys in each element
But I get a warning "Not an ARRAY reference" ...what am I doing wrong? Example data:
So I want to access a, b & c at level $AoH[0], then d, e & f at $AoH1 etc.
Back to
Seekers of Perl Wisdom
|
|