in reply to Re^2: re-key a hashin thread re-key a hash
Since ccn didn't answer your question... The delete is there to make the calculation of the new keys ( (keys %hash) - 1 ) work.
- tye