in reply to Re: clear perl hash variable
in thread clear perl hash variable
or%hash = ()
or, if $hash is a hash reference,undef %hash
or, somewhat similarly but not exactly the same,%$hash = ()
or, also somewhat similarly but not exactly the same,$hash = {}
undef $hash
|
|---|