Keep It Simple, Stupid | |
PerlMonks |
Re: How do I empty out a hash?by arno (Scribe) |
on Oct 04, 2003 at 12:39 UTC ( [id://296498]=note: print w/replies, xml ) | Need Help?? |
Hi, To delete a key, you don't need to know her value. Here's my code : Update: Of course this makes use of map in void context. Yick. And a couple other suggestions came in by way of followup:
Arnaud
In Section
Seekers of Perl Wisdom
|
|