Think about Loose Coupling | |
PerlMonks |
Re: Trouble dereferencing an array of hashesby bobf (Monsignor) |
on Nov 05, 2009 at 03:59 UTC ( [id://805130]=note: print w/replies, xml ) | Need Help?? |
You are very close, and kudos for recognizing the hash of arrays (or more precisely, a hash of a hash of a hash of an array of hash references). foreach iterates over a list, not a reference (see perlsyn). In this case, you need to dereference the array before foreach can use it.
In Section
Seekers of Perl Wisdom
|
|