reverse « Hash « Perl






1.Reverse a hash
2.Reverse a hash: use key as the value, and value as the key
3.Reverse the hash and use function each to get each pair
4.Reverse the key and value