|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: Reference to a hash in an array of hashesby benn (Priest) |
| on Aug 13, 2003 at 18:46 UTC ( #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
|
|
||||||||||||||||||||