Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Finding all sets of charsby Anonymous Monk |
on Oct 29, 2005 at 20:21 UTC ( [id://503904]=perlquestion: print w/replies, xml ) | Need Help?? |
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?
Back to
Seekers of Perl Wisdom
|
|