The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Dist::Zilla::Plugin::if::not::ENV - Load a plugin when an ENV key is NOT true.

VERSION

version 0.001001

SYNOPSIS

[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

SEE ALSO

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

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.