Help for this page

Select Code to Download


  1. or download this
    my @counts;
    while (<>) {
    ...
          ++$counts[$col_num]{ $fields[$col_num] };
       }
    }
    
  2. or download this
    for my $col_num (1..$#counts) {         # for my $col_num (0, 8) { ??
       my $col_counts = $counts[$col_num];
    ...
             map { join(',', @{ $by_count{$_} }) }
                keys(%by_count);
    }