in reply to Hash element exists/delete

Deleting keys from the hash that you are iterating through may "work", but it is probably safer to create a new hash.

Bill