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 reply to Re: Answer: How do I empty out a hash?
by Aristotle
in thread How do I empty out a hash?
by vroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |