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


in reply to Re: Words in Words
in thread Words in Words

I may not have clarified the specs as well as I had hoped.

The results should be a distinct list of the words in the list that can be found contained within another word in the list taking into consideration the exclusions I listed.

When I run this code, it returns words that are not contained in the wordlist. They are just pieces of the word.

I will say that it is pretty fast though and I may be able to use this technique to get what I am looking for.

Thank you.