in reply to join two hashes
i am beginner but i did it as this code
my @key=keys %rep; for my $key(@key){ $new_hash{$key}="[$rep{$key},$comb{$key}]";}
please professionals tell me is it correct or not.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: join two hashes
by Anonymous Monk on Jul 30, 2011 at 11:51 UTC |