A
A B
A C
A D
A B C
A B C D
B
B C
B C D
C
C D
D
I may have missed some combinations, but I think this is the general pattern. I need to generate every pattern possible.
I've looked at Algorithm::Permute and Algorithm::Loops, but these provide permutations and this is not really permutations.
Any help, leads or examples would be definitely appreciated.
In reply to Combinations of array? by dagwood00
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |