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
In reply to Re^2: clear perl hash variable
by massa
in thread clear perl hash variable
by himanshu.padmanabhi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |