Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Finding all sets of chars

by chas (Priest)
on Oct 29, 2005 at 20:57 UTC ( #503910=note: print w/replies, xml ) Need Help??

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.)
(Oh, zaxo posted the same idea, more detail, while I was typing...)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://503910]
[Eily]: Hi monks o/
[choroba]: 3 PM in Vietnam, BTW
Discipulus maybe a wrong impression..
[karlgoethebier]: Discipulus: Workshops are for weenies ;-)
[Discipulus]: here 43C high umidity, tiger mosquitos, violence in the street.. everywhere is vietnam
[karlgoethebier]: OK, i'm socially unacceptable
[karlgoethebier]: Discipulus: Were the hell are you today?
[Discipulus]: ..or suitable for the presidence ;=)
[Discipulus]: at Caput Mundi
[marto]: choroba, have you moved to Vietnam or just there for a while?

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2017-06-27 08:14 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (600 votes). Check out past polls.