in reply to Re: Re: Regular Expression
in thread Regular Expression

You might want to check to see if the words are there inside of the while loop. A simple print statement like
print "----$words-----\n";
inserted after the chomp statement may detect the problem.