The stupid question is the question not asked | |
PerlMonks |
Re: combinations between words!by Moron (Curate) |
on Jun 20, 2007 at 12:36 UTC ( [id://622233]=note: print w/replies, xml ) | Need Help?? |
"This and that and the other" from "this and that the other"? if allowed and the program is written correctly, it should loop forever ;) To put it another way and to expose the unknowns more thoroughly, you need to specify whether order of the words matters (yes=permutation no=combination) and whether words may repeat (yes=something two orders of magnitude more complicated than either!)
__________________________________________________________________________________
^M Free your mind!
In Section
Seekers of Perl Wisdom
|
|