in reply to getting hash key with value

Or just my %vals_to_keys = reverse %keys_to_vals;