http://qs321.pair.com?node_id=541323


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(;;);