The List::PowerSet module is simple module that currently allows you to generate the power set of a list WWW: http://search.cpan.org/dist/List-PowerSet/