sorry I had a __DATA__ section I had forgot to include the output in the original node called 'current desired output.' FYI I am using the find module to get the latest log files for the comparisons. Comparisons need to happen twice total, once for each pair of VIO servers. Yes your code works just fine to get a solid starting point. But here is my scratch code under __DATA__ using HoA. Thank you!!!
File::Find::finddepth({'wanted', \&__wanted15B}, '/opt/r2configs/vios1 +5b'); sub __wanted15B { use strict 'refs'; my($dev, $ino, $mode, $nlink, $uid, $gid); $lsmap15b = $name if ($dev, $ino, $mode, $nlink, $uid, $gid) = lst +at $_ and int -M(_) <= $minutes * 60 and /^lsmap-all\.out\z/s; } __DATA__ use Data::Dumper; print Dumper \%lsmap15a; print "\n============================================================= +==\n"; print Dumper \%lsmap15b; #for my $clientdata16A ( sort keys %lsmap16a ) { # print RLOG join ("\n\n", "$clientdata16A\t==>\n\t@{$lsmap16a{$clie +ntdata16A}}\n\n"); #} # #for my $clientdata16B ( sort keys %lsmap16b ) { # print RLOG join ("\n\n", "$clientdata16B\t==>\n\t@{$lsmap16b{$clie +ntdata16B}}\n\n"); #} for my $clientdataA ( sort keys %lsmap15a ) { print RLOG join ("\n\n", "$clientdataA\t==>\n\t@{$lsmap15a{$clientd +ataA}}\n\n"); } #for my $clientdataB ( sort keys %lsmap15b ) { # print RLOG join ("\n\n", "$clientdataB\t==>\n\t@{$lsmap15b{$client +dataB}}\n\n"); #} print "=" x100,"\n\n"; #foreach( # sort { $a->[1] cmp $b->[1] } # map { [ $_, $lsmap15a{$_}->[1] ] } keys %lsmap15a) { # print join "\n", $_->[0],' => ',@{$lsmap15a{$_->[0]} # }; # print "\n\n"; #} foreach( sort { $a->[1] cmp $b->[1] } map { [ $_, $lsmap15a{$_}->[1] ] } keys %lsmap15a) { print join "\n", $_->[0],' => ',@{$lsmap15a{$_->[0]} }; print "\n\n"; }

In reply to Re^2: sorted HoA, now what? by teamassociated
in thread sorted HoA, now what? by teamassociated

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.