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


in reply to String::Combination Package Bug?

Looks like a bug. combination($str,$k) returns each combination ($k-2)! times.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}