in reply to Re: Re(3): Puzzle: need a more general algorithm
in thread Puzzle: need a more general algorithm
D'oh!
Fortunately, a man far smarter than I has written an article that you might find useful. ("Pre-Fascicle 2c: Generating all combinations", about halfway down the page. The draft is a .ps.gz file, which is why I didn't link to it directly.)
In Section
Seekers of Perl Wisdom