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


in reply to Sets of subsets

Here are a few iterative methods for generating set partitions:

blokhead