NAME
Dist::Zilla::Plugin::if::ENV - Load a plugin when an ENV key is true.
VERSION
version 0.001000
SYNOPSIS
[if::ENV]
key = UBERTESTING
dz_plugin = Some::Plugin
dz_plugin_name = UBERTEST/Some::Plugin
>= some_plugin_argument = itsvalue
>= some_plugin_argument = itsvalue
Then
dzil build # Some::Plugin not loaded, but declared as a develop dep anyway
UBERTESTING=1 dzil build # Some::Plugin loaded!
UBERTESTING=0 dzil build # Some::Plugin NOT loaded
SEE ALSO
[if]
- Dist::Zilla::Plugin::if[if::not]
- Dist::Zilla::Plugin::if::not[if::not::ENV]
- Dist::Zilla::Plugin::if::not::ENVPluginLoader::Configurable role
- Dist::Zilla::Role::PluginLoader::ConfigurablePluginLoader role
- Dist::Zilla::Role::PluginLoaderPluginLoader util
- Dist::Zilla::Util::PluginLoader
AUTHOR
Kent Fredric <kentnl@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 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.