Perl: the Markov chain saw | |
PerlMonks |
Re^2: clear perl hash variableby massa (Hermit) |
on Mar 04, 2009 at 14:36 UTC ( [id://748172]=note: print w/replies, xml ) | Need Help?? |
And, anyway, %hash = {} does not do what himanshu.padmanabhi think it does. To clear a hash in perl, we do: or or, if $hash is a hash reference, or, somewhat similarly but not exactly the same, or, also somewhat similarly but not exactly the same,
[]s, HTH, Massa (κς,πμ,πλ)
In Section
Seekers of Perl Wisdom
|
|