Help for this page

Select Code to Download


  1. or download this
    my @scorearray = map { {score=>$_, text=>$hash{$_}} } keys %hash;
    
  2. or download this
    for my $word (@scoreWords) {
      my $qmword = quotemeta($word);
    ...
        $scorebit->{'score'} += 1 if $scorebit->{'text'} =~ $regexp;
      }
    }
    
  3. or download this
    printf "%-7s%s\n", "Score", "Value";
    for my $scorebit (@scorearray) {
      printf "%5d  %s\n", $scorebit->{'score'}, $scorebit->{'text'};
    }
    
  4. or download this
    @/=map{[/./g]}qw/.h_nJ Xapou cets krht ele_ r_ra/;
    map{y/X_/\n /;print}map{pop@$_}@/for@/