http://www.perlmonks.org?node_id=1021364


in reply to Multiple Permutation handling

I had that same question quite a while ago, some similar and different answers there: Conglomerate of arrays with no duplicates