Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Returning value or key from a hash

by tlm (Prior)
on Apr 07, 2006 at 14:18 UTC ( [id://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

Replies are listed 'Best First'.
Re^3: Returning value or key from a hash
by Corion (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://541873]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2025-05-21 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.