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


in reply to Unpredictable output from Text::ExtractWords

I can duplicate this behavior on 5.8.7 on Gentoo. It looks like 'I am' is the cause. Case doesn't matter, but white space does. Two spaces before, after, or between these words corrects the problem. I didn't spot anything obvious in the source for the module, but I'm japh, not a C guy.