Permuting using any number of given chars
- From: Brian Wakem <no@xxxxxxxxx>
- Date: Tue, 17 May 2005 21:51:41 +0100
I can use Algorithm::Permute to output all permutations of 1 2 3
123
132
312
213
231
321
But what I'm looking for is all possible permutations using any number of
the input chars.
Like this -
1
2
3
12
13
21
23
31
32
123
132
312
213
231
321
I can't think of a way right now and I can't find a module that does it.
Any ideas?
--
Brian Wakem
.
- Follow-Ups:
- Re: Permuting using any number of given chars
- From: Anno Siegel
- Re: Permuting using any number of given chars
- Prev by Date: Re: CGI script: release browser after spawning new process
- Next by Date: Re: Can a perl script monitor another?
- Previous by thread: Can a perl script monitor another?
- Next by thread: Re: Permuting using any number of given chars
- Index(es):
Relevant Pages
|
|