Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 scrutinizing the Monastery: (4)
As of 2014-11-27 21:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (188 votes), past polls