Algorithm::Permute, Set::Scalar, Set::IntSpan, and Bit::Vector might prove useful. Don't reinvent the wheel!
--In reply to Re: How do I get all n element subsets of an array
by FoxtrotUniform
in thread How do I get all n element subsets of an array
by NodeReaper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |