Why are you taking a reference here?
$item is already a hash ref, as the following will show you:$item = $array[0];
print "$_: $item->{$_}\n" foreach keys %{$item};
Liz
In reply to Re: Reference to a hash in an array of hashes
by liz
in thread Reference to a hash in an array of hashes
by vlad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |