The List::PowerSet module is simple module that currently allows you to generate the power set of a list WWW: https://metacpan.org/release/List-PowerSet