- COPYRIGHT AND LICENSE
Dist::Zilla::Plugin::DualLife - Distribute dual-life modules with Dist::Zilla
In your dist.ini:
Dual-life modules, which are modules distributed both as part of the perl core and on CPAN, sometimes need a little special treatment. This module tries provide that for modules built with
Currently the only thing this module does is providing an
INSTALLDIRS option to
WriteMakefile function, so dual-life modules will be installed in the right section of
@INC depending on different versions of perl.
As more things that need special handling for dual-life modules show up, this module will try to address them as well.
The options added to your
Makefile.PL by this module are roughly equivalent to:
'INSTALLDIRS' => ($] >= 5.009005 && $] <= 5.011000 ? 'perl' : 'site'),
(assuming a module that entered core in 5.009005).
Indicates when the distribution joined core. This option is not normally needed, as Module::CoreList is used to determine this.
Boolean for distributions bundled with ExtUtils::MakeMaker. Prior to v5.12, bundled modules might get installed into the core library directory, so even if they didn't come into core until later, they need to be forced into core prior to v5.12 so they take precedence.
Florian Ragwitz <firstname.lastname@example.org>
Karen Etheridge <email@example.com>
David Golden <firstname.lastname@example.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Florian Ragwitz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.