Or just my %vals_to_keys = reverse %keys_to_vals;

In reply to Re: getting hash key with value by ysth
in thread getting hash key with value by sovixi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":