After some research, I have decided that the word "permutation" is not what I wanted, and halley's comment about my looking for "combinations" is correct.
This node: http://www.perlmonks.org/index.pl?node_id=128286 Does everything I want, thanks again tye!