Just another Perl shrine | |
PerlMonks |
Re: How to remove duplicate key/value pairs in hash of arrayby dws (Chancellor) |
on Feb 20, 2001 at 23:20 UTC ( [id://59740]=note: print w/replies, xml ) | Need Help?? |
You can eliminate duplicate values by inverting the hash (turning key/value pairs into value/key pairs) and then re-inverting.
In Section
Seekers of Perl Wisdom
|
|