Help for this page

Select Code to Download


  1. or download this
    my %count;
    while ( <FILE> ) {
    ...
    
    print "$_ => $count{$_}\n"
        for sort { $count{$b} <=> $count{$a} || $a cmp $b} keys %count;