in reply to All Combinations of three arrays.
I asked a very similar question in the past, check it out:
Conglomerate of arrays with no duplicates
There were two modules posted in the comments there that do this exact thing. And they can do a recursive solution, so you can have an arbitrary number of sets.
|
---|
In Section
Seekers of Perl Wisdom