my @common = grep exists $a{$_}, keys %b; @a{@common} = @b{@common};
In reply to Re: How do I make all the keys in %a with common keys in %b equal to %b's values?
by salva
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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |