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


in reply to Finding all sets of chars

You could do something like:
@a= glob "{a,b,c,d,e,1,2,3,4,5}"x 2; for(@a){print "$_ "}

(but using the full set of characters and numbers that you want and varying the multiplier. And I guess you mean permutations.)
chas
(Oh, zaxo posted the same idea, more detail, while I was typing...)