Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: help needed in retrieving the hash key

by murugu (Curate)
on Apr 05, 2006 at 09:51 UTC ( [id://541323]=note: print w/replies, xml ) Need Help??


in reply to help needed in retrieving the hash key

Hi,

As you mentioned that keys and values are unique,

my %hash2 = reverse %hash1;

Now the keys and values got interchanged.

Regards,
Murugesan Kandasamy
use perl for(;;);

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-24 01:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found