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


in reply to Variant permutation

I'm curious...

  1. Why do you need these "Variant permutations" ? ... is there a practicle use for this, or are you just interested from a theoreticaly standpoint?
  2. Why are you limiting yourself to (what i would call) "permutation prefixes" ?

If you asked me to "to report the partial permutation of the values...

a b c
1 2 3
x y z
...my list would include "ax", "1x", "1", "x", etc.