Of the solutions, I like this one the best. I would avoid the map function unless you are certain there is nothing in %myHash that you want to keep. None of the map solutions shown preserve any original elements the hash might contain-- except maybe the one with the void context problem. :)