Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 admiring the Monastery: (3)
As of 2024-04-25 22:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found