in reply to
N Permutations of M Items
It sounds as though what you want is pretty close to
this
. Maybe you can use it as a basis for your code. You might also try
Algorithm::ChooseSubsets
.
HTH, --traveler
Comment on
Re: N Permutations of M Items
In Section
Seekers of Perl Wisdom