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


in reply to recursively generating permutations

You should look at Algorithm::Loops, and, through Super Search, to the following PM links:

 

  • Comment on Re: recursively generating permutations

Replies are listed 'Best First'.
Re^2: recursively generating permutations
by spurperl (Priest) on Aug 19, 2005 at 11:33 UTC
    Hi rnahi,

    Thanks for the many links, but it's not exactly *it*. The first link you give (Permutations and combinations) talks about a different kind of permutations. The second presents a non-recursive algorithm for lexicographic order permutations. The third's title says it all.