my $hashref = { c => 3, d => 4 }; print $hashref->{c}; # prints 3