in reply to Re: key-values swapped
in thread key-values swapped
Talking about hurting one's head ...
Reversing a hash, you have to watch out for value collisions which could cause you to lose keys. At least, from the perspective of the original hash. Just trying to think about both hashes at the same time in the context of keys and values is giving me a headache. Where is my caffeine?
Update for the humour-impaired: This is a joke. Relax. ;-)
|
|---|