
Data::PowerSet::Hash - Power sets of hashes

version 0.03

This provides you with a power set (basically all combinational iterations) for your hashes. This only does it for hashes, if you want them done for arrays, I suggest using Data::PowerSet. Please view the SEE ALSO section below.

Create a powerset from hash keys.
use Data::PowerSet::Hash 'hash_powerset';
my @pset = hash_powerset(
husband => 'Homer Simpson',
wife => 'Marge Simpson',
);
# @pset = (
# {
# husband => 'Homer Simpson',
# wife => 'Marge Simpson',
# },
# { husband => 'Homer Simpson' },
# { wife => 'Marge Simpson' },
# {},
# )
See documentation for it above.

For arrays, you should check out Data::PowerSet or List::PowerSet.

Sawyer X <xsawyerx@cpan.org>

This software is copyright (c) 2012 by Sawyer X.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.