Short survey of [perl] modules for combinations and permutations

Posted on June 1, 2020. Filed under: Uncategorized | Tags: , , , , , |

Short survey of modules for combinations and permutations

This is a short look at some modules for generating combinations and permutations. There are likely more modules that aren’t listed. RosettaCode has examples of writing the combinations and permutations functions by hand.

TL;DR: Just use Algorithm::Combinatorics (full-featured, xs).

Article dates back to 2015, but it’s still useful (IMHO).

See also Acme::CPANModules::Import::CombinationsAndPermutations by PERLANCAR

Liked it here?
Why not try sites on the blogroll...