in reply to
Permutation of groups
Don't know if these will help, but from
search
Permuting with duplicates and no memory
and
Re: Permutations
Comment on
Re: Permutation of groups
In Section
Seekers of Perl Wisdom