Let me recommend a functional-programmer's way:
@hash1{keys %hash1}= @hash2{values %hash1};
In reply to Re: Replace the value of a hash
by ambrus
in thread Replace the value of a hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |