XP is just a number | |
PerlMonks |
how to use reversehash if there are more than one keys sameby Anonymous Monk |
on Sep 08, 2000 at 09:33 UTC ( [id://31549]=perlquestion: print w/replies, xml ) | Need Help?? |
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
|
|