in reply to Re: How do I empty out a hash?
in thread How do I empty out a hash?

The quick way to clear a hash is
%hash = ();
i.e. set the empty list as the hash. Even if the hash is tied, a properly implemented tieing module should implement both the DELETE and CLEAR functions, so it should work in that case as well.

Liz