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 about the Monastery: (8)
As of 2014-09-16 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (51 votes), past polls