On Thu, Aug 19, 2010 at 6:51 AM, Sharan Basappa <sharan.basa...@gmail.com>wrote:

> Assuming I have reference to an hash array $rHash, what would be the
> way to dereference it.
> Would it be: %hashEntry = %{$rHash}; ?
>

Yes, that dereferences the hash. It's useful notation in loops...
foreach (keys %{$rHash})
while (my ($key, $value) = each %{$rHash})

To access a single entry, you can do something like this: $value =
$rHash->{'field'};

-- 
Robert Wohlfarth

Reply via email to