Help for this page
my %hash = (a=>1, b=>2); my $hashRef = { c=>3, d=>4 }; ... # use an arrow: $v = $hashRef->{c}; $v = $$hashRef{c};
# Get a reference to %hash $hashRef = \%hash; $v = $hashRef->{a}; # $v now holds 1