NAME

Dist::Zilla::Plugin::DualLife - Distribute dual-life modules with Dist::Zilla

VERSION

version 0.07

SYNOPSIS

In your dist.ini:

[DualLife]

DESCRIPTION

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 Dist::Zilla.

Currently the only thing this module does is providing an INSTALLDIRS option to ExtUtils::MakeMaker's 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).

[DualLife]
entered_core=5.006001

ATTRIBUTES

entered_core

Indicates when the distribution joined core. This option is not normally needed, as Module::CoreList is used to determine this.

eumm_bundled

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.

SUPPORT

Bugs may be submitted through the RT bug tracker (or bug-Dist-Zilla-Plugin-DualLife@rt.cpan.org).

There is also a mailing list available for users of this distribution, at http://dzil.org/#mailing-list.

There is also an irc channel available for users of this distribution, at #distzilla on irc.perl.org.

AUTHOR

Florian Ragwitz <rafl@debian.org>

CONTRIBUTORS

  • Karen Etheridge <ether@cpan.org>

  • David Golden <dagolden@cpan.org>

COPYRIGHT AND LICENCE

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.