Help for this page

Select Code to Download


  1. or download this
    my %counts;
    while (<$fh>) {
    ...
       my @fields = split /\t/;
       $counts{ $fields[3] }++;
    }
    
  2. or download this
    for ( sort { $a <=> $b } keys %counts ) {
       print("$_: $counts{$_}\n");
    }