Get hash value by using the hash reference
#!/usr/bin/perl
use strict;
use warnings;
my %hash = ( A => "AA",
B => "BB",
C => "CC",
D => "DD",
E => "EE" );
my $hashReference = \%hash;
print( "\$\$hashReference{ A } = $$hashReference{ A }\n" );
Related examples in the same category