keys %hash and return "The key for 2 is $key\n" if $val == 2;