We don't bite newbies here... much | |
PerlMonks |
Re: Reference to a hash in an array of hashesby benn (Vicar) |
on Aug 13, 2003 at 18:46 UTC ( [id://283652]=note: print w/replies, xml ) | Need Help?? |
$array[0] is already a reference to the hash. By doing $item = \$array[0], you're creating a reference to a reference. Try something like this...
or if you prefer... Cheers, Ben.
In Section
Seekers of Perl Wisdom
|
|