Help for this page

Select Code to Download


  1. or download this
    my %with_key;
    foreach my $first_key (keys %all_files) {
    ...
        push @{$with_key{$second_key}}, $first_key;
      }
    }
    
  2. or download this
    my %total;
    foreach my $subhash (values %all_files) {
    ...
        $total{$key} += $subhash->{$key};
      }
    }