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


in reply to Words in Words

checks to see if each word exists within another word in the list

Impossible; such a list would be circularly containing! Therefore, the answer is always false. O(1)

Or did you mean, checks each word to see whether it exists within another word in the list?