in reply to Re: How do I empty out a hash?
in thread How do I empty out a hash?
Easier yet.
Update: this is, of course, only useful when you want to use delete the keys from one hash in another one, as indelete @hash{(keys %hash)};
Otherwise, only the below solution makes any sense.delete @foo{(keys %bar)};
Makeshifts last the longest.
In Section
Seekers of Perl Wisdom