in reply to Re: clear perl hash variable
in thread clear perl hash variable

And, anyway, %hash = {} does not do what himanshu.padmanabhi think it does. To clear a hash in perl, we do:
%hash = ()
or
undef %hash
or, if $hash is a hash reference,
%$hash = ()
or, somewhat similarly but not exactly the same,
$hash = {}
or, also somewhat similarly but not exactly the same,
undef $hash
[]s, HTH, Massa (κς,πμ,πλ)