in reply to Re^2: re-key a hashin thread re-key a hash
There's no delete in mine either of course, and you still need two statements your way. :-) It's what I'd probably use in production code though.
Makeshifts last the longest.