in reply to help needed in retrieving the hash key
As you mentioned that keys and values are unique,
my %hash2 = reverse %hash1; [download]
Now the keys and values got interchanged.
Regards,Murugesan Kandasamyuse perl for(;;);