in reply to Re: How to combine two different hashes into single hash.
in thread How to combine two different hashes into single hash.
Firstly, I should convert hash of hashes into hash and then use join ?
my $VAR1 = {'Tim' => {'abc' => 7, 'def' => 7, 'ghi' => 0 }, 'Adam' => +{ 'abc' => 0, 'def' => 0, 'ghi' => 0 }, 'keas' => { 'abc' => 0, 'def' + => 0, 'ghi' => 0 }}; my %h1 = ('Tim' => {'abc' => 7, 'def' => 7, 'ghi' => 0 }, 'Adam' => { +'abc' => 0, 'def' => 0, 'ghi' => 0 }, 'keas' => { 'abc' => 0, 'def' = +> 0, 'ghi' => 0 });
Apologies if I wrongly understood.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to combine two different hashes into single hash.
by LanX (Saint) on Dec 29, 2019 at 15:51 UTC |