You could install module Algorithm::Permute, then try this:
use Algorithm::Permute; my $p = new Algorithm::Permute(['a'..'e']); while (@res = $p->next) { print join(", ", @res), "\n"; }
In reply to Re: permutations?
by fglock
in thread permutations?
by eduardo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |