# This is a hash: my %hash = ( 1 => 'one', 2 => 'two', ); # This is a hash ref: my $hashref = { 1 => 'one', 2 => 'two', }; # This is a hash ref of the hash above: my $hashref2 = \%hash; # Get a hash value: print "Hash: " . $hash{1} . "\n"; # Get a hashref value: print "Hash ref: " . $hashref->{1} . "\n"; #### print $_, "\t", $hash{$_}->[1], "\t", $hash{$_}->[2], "\n";