http://www.perlmonks.org?node_id=475814


in reply to Top five words by occurrence

Hi,

You might also want to look at Text::ExtractWords. I haven't used it, but it looks like it does what you want.

- j