Dist::Zilla::Plugin::if::not::ENV - Load a plugin when an ENV key is NOT true.
version 0.001001
[if::not::ENV] key = AIRPLANE dz_plugin = Some::Plugin dz_plugin_name = NOTAIRPLANE/Some::Plugin >= some_plugin_argument = itsvalue >= some_plugin_argument = itsvalue
Then
dzil build # Some::Plugin is loaded AIRPLANE=1 dzil build # Some::Plugin NOT loaded!... but still a develop dep. AIRPLANE=0 dzil build # Some::Plugin loaded
[if] - Dist::Zilla::Plugin::if
[if]
[if::not] - Dist::Zilla::Plugin::if::not
[if::not]
[if::ENV] - Dist::Zilla::Plugin::if::ENV
[if::ENV]
PluginLoader::Configurable role - Dist::Zilla::Role::PluginLoader::Configurable
PluginLoader::Configurable role
PluginLoader role - Dist::Zilla::Role::PluginLoader
PluginLoader role
PluginLoader util - Dist::Zilla::Util::PluginLoader
PluginLoader util
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::if::ENV, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::if::ENV
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::if::ENV
For more information on module installation, please visit the detailed CPAN module installation guide.