Welcome to the Monastery | |
PerlMonks |
Question about fast switch hash key-value pairs.by lihao (Monk) |
on Apr 02, 2008 at 21:25 UTC ( [id://678047]=perlquestion: print w/replies, xml ) | Need Help?? |
lihao has asked for the wisdom of the Perl Monks concerning the following question: Hi, monks Without loading any Perl modules, what is the fastest or best way to change key=>value pairs to value=>key pairs of a large hash. Assume no duplication in both key and value fields.. Many thanks BTW. I am now using the following which looks dummy
lihao
Back to
Seekers of Perl Wisdom
|
|