The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use Test::More qw(no_plan);

use Math::Subsets::List;

my $a = '';

ok 8 == subsets {$a .= "@_\n"} qw(a b c);

ok $a eq << 'end';

c
b
b c
a
a c
a b
a b c
end

print $a;