Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Data-Tumbler-0.010-lp152.2.2 RPM for noarch

From OpenSuSE Leap 15.2 for noarch

Name: perl-Data-Tumbler Distribution: openSUSE Leap 15.2
Version: 0.010 Vendor: openSUSE
Release: lp152.2.2 Build date: Fri Sep 20 19:54:48 2019
Group: Development/Libraries/Perl Build host: lamb19
Size: 52907 Source RPM: perl-Data-Tumbler-0.010-lp152.2.2.src.rpm
Packager: https://bugs.opensuse.org
Url: https://metacpan.org/release/Data-Tumbler
Summary: Dynamic generation of nested combinations of variants
NOTE: This is alpha code and liable to change while it and
Test::WriteVariants mature.

The tumble() method calls a sequence of 'provider' code references each of
which returns a hash. The first provider is called and then, for each hash
item it returns, the tumble() method recurses to call the next provider.

The recursion continues until there are no more providers to call, at which
point the consumer code reference is called. Effectively the providers
create a tree of combinations and the consumer is called at the leafs of
the tree.

If a provider returns no items then that part of the tree is pruned.
Further providers, if any, are not called and the consumer is not called.

During a call to tumble() three values are passed down through the tree and
into the consumer: path, context, and payload.

The path and context are derived from the names and values of the hashes
returned by the providers. Typically the path define the current "path"
through the tree of combinations.

The providers are passed the current path, context, and payload. The
payload is cloned at each level of recursion so that any changes made to it
by providers are only visible within the scope of the generated sub-tree.

Note that although the example above shows the path, context and payload as
array references, the tumbler code makes no assumptions about them. They
can be any kinds of values.

See Test::WriteVariants for a practical example use.

Provides

Requires

License

Artistic-1.0 OR GPL-1.0-or-later

Changelog

* Tue Oct 09 2018 Dirk Stoecker <opensuse@dstoecker.de>
  - Created

Files

/usr/lib/perl5/vendor_perl/5.26.1/Data
/usr/lib/perl5/vendor_perl/5.26.1/Data/Tumbler.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Data-Tumbler
/usr/share/doc/packages/perl-Data-Tumbler/Changes
/usr/share/doc/packages/perl-Data-Tumbler/LICENSE
/usr/share/doc/packages/perl-Data-Tumbler/README
/usr/share/doc/packages/perl-Data-Tumbler/TODO
/usr/share/licenses/perl-Data-Tumbler
/usr/share/licenses/perl-Data-Tumbler/ARTISTIC-1.0
/usr/share/licenses/perl-Data-Tumbler/GPL-1
/usr/share/licenses/perl-Data-Tumbler/GPL-2.0
/usr/share/licenses/perl-Data-Tumbler/LICENSE
/usr/share/man/man3/Data::Tumbler.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Mar 9 11:46:52 2024