my %trans = ('username' => 'Name', 'password' => 'PW'); for my $k (keys %hash1) { $hash2{$trans{$k}} = $hash1{$k} }
In reply to Re: Joining and Applying a different hash to another
by duff
in thread Joining and Applying a different hash to another
by drewboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |