in reply to 'reversing' a hash

Just a thought, using reverse as noted above is the easiest way, though if you're worried about duplicate keys, you can always use a
foreach(keys %hash ){ } or while (my ($k,$v) = each %hash){ }
so you can handle duplicates in a reasonable way.

-Lee

"To be civilized is to deny one's nature."