Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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


Comment on Re: Finding all sets of chars
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://503910]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-07-07 02:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls