Help for this page

Select Code to Download


  1. or download this
    my @stopwords= qw/ car pet carpet /;
    my $stopmatch= join '|' => 
      map { '\b' . $_[1] . '\b' }
      sort { $b->[0] <=> $a->[0] } ## No reverse here
      map { [length $_, $_] } @stopwords;