Florian Ragwitz > Dist-Zilla-Plugin-DualLife-0.01 > Dist::Zilla::Plugin::DualLife

Download:
Dist-Zilla-Plugin-DualLife-0.01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.01   Source   Latest Release: Dist-Zilla-Plugin-DualLife-0.04

NAME ^

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

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'),

ACHTUNG! ^

AUTHOR ^

Florian Ragwitz <rafl@debian.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.

syntax highlighting: