No such thing as a small change | |
PerlMonks |
Re: testing parts of a string against a word databaseby Eliya (Vicar) |
on Dec 01, 2011 at 00:16 UTC ( [id://940973]=note: print w/replies, xml ) | Need Help?? |
The problem is that you're trying to iterate through the filehandle NOUNS multiple times without reopening or resetting the file pointer to the beginning of the file. So either use seek, or change the nesting of the loops so that you just have to go through the file once, i.e.
In Section
Seekers of Perl Wisdom
|
|