in reply to Replace the value of a hash
Let me recommend a functional-programmer's way:
@hash1{keys %hash1}= @hash2{values %hash1};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Replace the value of a hash
by qq (Hermit) on Apr 02, 2004 at 21:22 UTC | |
by ambrus (Abbot) on Apr 03, 2004 at 20:31 UTC |