ormy %new_hash; $new_hash{$_} = [$rep{$_}, $comb{$_}] for keys %rep;
my %new_hash = map {($_, [$rep{$_}, $comb{$_}])} keys %rep;
In reply to Re: join two hashes
by JavaFan
in thread join two hashes
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |