Help for this page
use Lingua::StopWords qw( getStopWords ); my $stopwords = getStopWords('en'); ... # prints "walrus goo goo g'joob" print join ' ', grep { !$stopwords->{$_} } @words;
use Lingua::EN::StopWords qw(%StopWords); ... # Print non-stopwords in @words print join " ", grep { !$StopWords{$_} } @words;