in reply to Re: hash sort
in thread hash sort
Please explain , Cant understand. This is sample code. I have many HOH in my script. Can you please assign / push $_ value in array ? I lost it because of many map functions :( :(print map $_->[2], sort { $a->[1] cmp $b->[1] or $a->[0] <=> $b->[0] } map [ $_, $hash2{$_}{'key'}, "key $_ and $hash2{$_}{'key'}\n" ], keys %hash1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: hash sort
by haukex (Archbishop) on May 31, 2017 at 18:22 UTC | |
|
Re^3: hash sort
by AnomalousMonk (Archbishop) on May 31, 2017 at 20:56 UTC |