in reply to Re^8: putting text into array word by word
in thread putting text into array word by word
OK, let's extract another worm from the can we've opened. Say we want to count all the times 'John' appears in a text. Given a sentence:
Was it John or John's brother?
Should the count be one or two?
In Section
Seekers of Perl Wisdom