|
|
| We don't bite newbies here... much | |
| PerlMonks |
how to use reversehash if there are more than one keys sameby Anonymous Monk |
| on Sep 08, 2000 at 05:33 UTC ( [id://31549]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (hashes)
reversehash to accept a hash and return a hash where the
roles of keys and vaalues are reversed. that is the key of the
key of the input hash becomes the value of the output hash.
if there are more than one keys in the input hash has
the same value, they are connected by the symbol '|' in output
Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||