forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
9 lines
411 B
Text
9 lines
411 B
Text
Perl algorithm to iterate through subsets of a list.
|
|
|
|
"Subsets" in this context refers to lists with elements taken
|
|
from the original list, and in the same order as the elements in the
|
|
original list. After creating the object, subsequent calls to next()
|
|
will return the next such list in lexicographic order (where the alphabet
|
|
is the original list).
|
|
|
|
WWW: http://search.cpan.org/dist/Algorithm-ChooseSubsets/
|