NAME

Dist::Zilla::Plugin::BuildSelf - Build a Build.PL that uses the current module to build itself

VERSION

version 0.007

DESCRIPTION

Unless you're writing a Build.PL compatible module builder, you should not be looking at this. The only purpose of this module is to bootstrap any such module on Dist::Zilla.

ATTRIBUTES

add_buildpl

If enabled it will generate a Build.PL file for you. Defaults to true if no Build.PL file is given.

auto_configure_requires

If enabled it will automatically add the runtime requirements of the dist to the configure requirements.

sanatize_for

If non-zero it will filter modules provided by the given perl version from the configure dependencies.

module

The module used to build the current module. Defaults to the main module of the current distribution.

minimum_perl

The minimal version of perl needed to run this Build.PL. It defaults to the current runtime requirements' value for perl, or 5.006 otherwise.

template

The template to use for the Build.PL script. This is a Text::Template string with the arguments as described above: $module and $minimum_perl. Default is typical for the author's Build.PL ideas, YMMV.

AUTHOR

Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.