my @k = grep { exists $b{$_} } keys %a; @a{@k} = @b{@k};
In reply to Re: How do I make all the keys in %a with common keys in %b equal to %b's values?
by shmem
in thread How do I make all the keys in %a with common keys in %b equal to %b's values?
by satzbu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |