in reply to Re^3: How i can create hash of arrays of hashes from my 3 arrays?
in thread How i can create hash of arrays of hashes from my 3 arrays?
Hello Bill, This is very nice that you are helping me here. Thanks for the same. I was able to create the hash of arrays and hashes but unable detirmine the recent dates from users
My expectation should be 1 recent date 2021-03-10T13:58:50.000Z . Please check below code, i was trying
User 900000002 Network1 2019-11-07T20:31:10.000Z 2021-02-19T13:47:25.000Z 2021-03-10T13:58:50.000Z
my %iddates; for my $key (keys(%iddates)) { foreach my $fact1 (keys %{ $iddates{$key} }) { $iddates{$key}{$fact1}; my @numbers = map { $_->[1] } values(%{$iddates{$key}}); printf("%dd: max: %s", $key, maxstr(@numbers)); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How i can create hash of arrays of hashes from my 3 arrays?
by BillKSmith (Monsignor) on Mar 16, 2021 at 13:51 UTC | |
|
Re^5: How i can create hash of arrays of hashes from my 3 arrays?
by AnomalousMonk (Archbishop) on Mar 15, 2021 at 02:21 UTC | |
by chandantul (Scribe) on Mar 15, 2021 at 14:24 UTC |