getStopWords('en') returns a hash reference that needs to be dereferenced for printing (the keys are the stopwords):
use strict; use warnings; use Lingua::StopWords qw( getStopWords ); my $stopwords = getStopWords('en'); print "$_\n" for sort keys %$stopwords;
Partial output:
a about above after again against all am an and any are aren't ...
In reply to Re: How do I print a hash in perl
by Kenosis
in thread How do I print a hash in perl
by demisheep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |