in reply to join two hashes
ormy %new_hash; $new_hash{$_} = [$rep{$_}, $comb{$_}] for keys %rep;
my %new_hash = map {($_, [$rep{$_}, $comb{$_}])} keys %rep;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: join two hashes
by Anonymous Monk on Jul 30, 2011 at 10:33 UTC | |
by choroba (Cardinal) on Jul 30, 2011 at 10:49 UTC | |
by JavaFan (Canon) on Jul 30, 2011 at 11:00 UTC | |
by Anonymous Monk on Jul 30, 2011 at 11:09 UTC | |
by johngg (Canon) on Jul 30, 2011 at 11:54 UTC | |
by JavaFan (Canon) on Jul 30, 2011 at 15:54 UTC | |
by Anonymous Monk on Jul 30, 2011 at 10:37 UTC |