in reply to Re^4: error:Global symbol "$stopwords" requires explicit package
in thread error:Global symbol "$stopwords" requires explicit package

You appear to be confused about how to scoping works, and how to use the various data-types in perl. Please read perldata and " What’s the difference between dynamic and lexical (static) scoping?" in perlfaq7

  • Comment on Re^5: error:Global symbol "$stopwords" requires explicit package