Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Answer: How do I empty out a hash?by NetWallah (Canon) |
on Aug 16, 2003 at 04:52 UTC ( [id://284312]=note: print w/replies, xml ) | Need Help?? |
If you really wanted to iterate over the hash, using katie's method, there is no point in fetching the VALUE, only to throw it away. Hence, I'd code it thus:
which is a little easier on the eye ...
In Section
Seekers of Perl Wisdom
|
|