Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Returning value or key from a hash

by tlm (Prior)
on Apr 07, 2006 at 14:18 UTC ( #541873=note: print w/ replies, xml ) Need Help??


in reply to Re: Returning value or key from a hash
in thread Returning value or key from a hash

Reversing a hash is cool but dangerous. If the original hash has repeated values, reversing it loses information.

the lowliest monk


Comment on Re^2: Returning value or key from a hash
Re^3: Returning value or key from a hash
by Corion (Pope) on Apr 07, 2006 at 16:39 UTC

    But in this case, I assume the hash is reversible, as the original post doesn't mention what to do in conflicts :)

      It worked for me just fine
      Cheers all!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://541873]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-12-26 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls