in reply to Combining / Merging two Ho(H|A)s
Code untested and probably not has elegant as it could be.foreach my $key2 (keys %hash2) { $hash1{$key2} = $hash2{$key2}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Combining / Merging two Ho(H|A)s
by jkva (Chaplain) on Feb 21, 2006 at 21:02 UTC |