http://qs321.pair.com?node_id=503904

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?