for a one line approach$newhash{$key} = delete $oldhash{$key};
Update ack! Tye beat me to it... :)
- Ant
In reply to Re: Re: How do I move specific values from one hash to another?
by suaveant
in thread How do I move specific values from one hash to another?
by wstarrs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |