Dist::Zilla::Role::DynamicConfig - A Role that accepts a dynamic configuration
This is a role for a Plugin (or possibly other classes) that accepts a dynamic configuration.
Plugins performing this role must define "separate_local_config".
A hashref where the dynamic options will be stored.
Do not attempt to assign to this from your dist.ini.
Copied/modified from Dist::Zilla::Plugin::Prereqs to allow arbitrary values to be specified.
This overwrites the Moose::Object method called to prepare arguments before instantiation.
Separate any arguments that should be stored directly on the object rather than in the dynamic "_config" attribute.
Remove those arguments from the passed in hashref, make any necessary modifications (like renaming the keys if desired), and return a hashref with the result.
You can find documentation for this module with the perldoc command.
The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.
The default CPAN search engine, useful to view POD in HTML format.
The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.
The CPAN Ratings is a website that allows community ratings and reviews of Perl modules.
The CPAN Testers is a network of smokers who run automated tests on uploaded CPAN distributions.
The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
Please report any bugs or feature requests by email to
bug-dist-zilla-role-dynamicconfig at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dist-Zilla-Role-DynamicConfig. You will be automatically notified of any progress on the request by the system.
Randy Stauner <firstname.lastname@example.org>
This software is copyright (c) 2010 by Randy Stauner.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.