Help for this page

Select Code to Download


  1. or download this
    my @codes = qw/ CODE1 CODE2 CODE3 /;
    my %hitCounts;
    ...
        next unless $found;
        # logic goes here
    }
    
  2. or download this
    END {
       print "Regexen in sorted order:\n\t";
       print join "\n\t",sort {$hitCounts{$b}<=>$hitCounts{$a}} @regex;
       print "\n";
    }