Keep It Simple, Stupid | |
PerlMonks |
Re^3: Permuting with duplicates and no memory (off by 1)by tye (Sage) |
on Apr 02, 2007 at 03:11 UTC ( [id://607748]=note: print w/replies, xml ) | Need Help?? |
Just FYI, perhaps you missed this bit from the root node:
which is also why I called my routine "nextPermute". Also note that dragonchild's and my iterators can be reused. For yours to be reusable you probably want to change:
to
- tye
In Section
Cool Uses for Perl
|
|