laziness, impatience, and hubris | |
PerlMonks |
Re: Not a HASH referenceby stevieb (Canon) |
on Jul 07, 2015 at 18:19 UTC ( [id://1133589]=note: print w/replies, xml ) | Need Help?? |
How are you calling process(), and with what data? Your code works fine for me when I rename $VAR1 in the Dumper output to $aref, rename $address to $name and call like this: process($aref). Could it be that one or more elements in your data aren't hash references?
-stevieb
In Section
Seekers of Perl Wisdom
|
|