Dist-Zilla-Role-PluginBundle-Merged
view release on metacpan or search on metacpan
README.html view on Meta::CPAN
'=Dist::Zilla::Bizarro::Plugin', # explicit class of plugin
### ARRAYs ###
# These are all passed to add_plugins with an explicit payload
['Plugin'],
['Plugin', 'NewName'],
['Plugin', \%new_payload ],
['Plugin', 'NewName', \%new_payload ],
### HASHs ###
{}, # force no options until reset
$self->payload, # reset to original payload
\%new_payload, # only pass those arg/value pairs as the payload
$self->config_slice(qw( arg1 arg2 )), # only pass those args -from- the payload
$self->config_slice('arg1', { foobar_arg2 => 'arg2' }), # only pass those args -from- the payload (with arg renaming)
$self->config_rename(foobar_arg1 => 'arg1'), # rename args in the payload (and pass everything else)
$self->config_rename(killme => ''), # remove args in the payload (and pass everything else)
### Combinations ###
$self->config_short_merge('Plugin', \%add_on_payload), # add args to the payload, pass to Plugin, and reset to original
$self->config_short_merge(
[ qw( Plugin1 Plugin2 ) ], # add args to the payload, pass to plugin list, and reset to original payload
\%add_on_payload
),
);</pre>
<h1><a class='u'
name="CAVEATS"
>CAVEATS</a></h1>
<ul>
<li>Plugins that use non-standard payload methods will not be passed their options via <code>add_merged</code>, unless passed an arrayref to <code>add_merged</code> with an specific payload. The <code>config_merge</code> method will warn you of this,...
</ul>
<ul>
<li>Doing things more implicitly grants greater flexibility while sacrificing control. YMMV.</li>
</ul>
<h1><a class='u'
name="AVAILABILITY"
>AVAILABILITY</a></h1>
<p>The project homepage is <a href="https://github.com/SineSwiper/Dist-Zilla-Role-PluginBundle-Merged/wiki" class="podlinkurl"
>https://github.com/SineSwiper/Dist-Zilla-Role-PluginBundle-Merged/wiki</a>.</p>
<p>The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit <a href="http://www.perl.com/CPAN/" class="podlinkurl"
>http://www.perl.com/CPAN/</a> to find a CPAN site near you, or see <a href="https://metacpan.org/module/Dist::Zilla::Role::PluginBundle::Merged/" class="podlinkurl"
>https://metacpan.org/module/Dist::Zilla::Role::PluginBundle::Merged/</a>.</p>
<h1><a class='u'
name="SUPPORT"
>SUPPORT</a></h1>
<h2><a class='u'
name="Internet_Relay_Chat"
>Internet Relay Chat</a></h2>
<p>You can get live help by using IRC ( Internet Relay Chat ). If you don't know what IRC is, please read this excellent guide: <a href="http://en.wikipedia.org/wiki/Internet_Relay_Chat" class="podlinkurl"
>http://en.wikipedia.org/wiki/Internet_Relay_Chat</a>. Please be courteous and patient when talking to us, as we might be busy or sleeping! You can join those networks/channels and get help:</p>
<ul>
<li>irc.perl.org
<p>You can connect to the server at 'irc.perl.org' and talk to this person for help: SineSwiper.</p>
</li>
</ul>
<h2><a class='u'
name="Bugs_/_Feature_Requests"
>Bugs / Feature Requests</a></h2>
<p>Please report any bugs or feature requests via <a href="https://github.com/SineSwiper/Dist-Zilla-Role-PluginBundle-Merged/issues" class="podlinkurl"
>https://github.com/SineSwiper/Dist-Zilla-Role-PluginBundle-Merged/issues</a>.</p>
<h1><a class='u'
name="AUTHOR"
>AUTHOR</a></h1>
<p>Brendan Byrd <bbyrd@cpan.org></p>
<h1><a class='u'
name="COPYRIGHT_AND_LICENSE"
>COPYRIGHT AND LICENSE</a></h1>
<p>This software is Copyright (c) 2013 by Brendan Byrd.</p>
<p>This is free software, licensed under:</p>
<pre> The Artistic License 2.0 (GPL Compatible)</pre>
<!-- end doc -->
</body></html>
( run in 0.905 second using v1.01-cache-2.11-cpan-39bf76dae61 )