Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I tried to Google this but I wasn't really sure what to search for.
I want to setup a script that finds ALL combinations of a set number of characters. For instance, if it was 1 character it would find all the single numbers and digits. If I asked for two digits, it'd spit out aa,ab,ac.. 10,11,12,1a,1b..... until all combinations are found.
This seems rather complicated but probably something that a module was already created to do. I do need to be able to specify which charaters: numbers, letters, special characters like asterics, etc that should be used.
Is there such a module or anyone know of what to search for or have a solution?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Finding all sets of chars
by Zaxo (Archbishop) on Oct 29, 2005 at 20:50 UTC | |
Re: Finding all sets of chars
by Limbic~Region (Chancellor) on Oct 29, 2005 at 20:45 UTC | |
Re: Finding all sets of chars
by blokhead (Monsignor) on Oct 29, 2005 at 21:21 UTC | |
Re: Finding all sets of chars
by chas (Priest) on Oct 29, 2005 at 20:57 UTC | |
Re: Finding all sets of chars
by eyepopslikeamosquito (Archbishop) on Oct 29, 2005 at 21:05 UTC |
Back to
Seekers of Perl Wisdom