NAME

Dist::Zilla::Plugin::OnlyCorePrereqs - Check that no prerequisites are declared that are not part of core

VERSION

version 0.003

SYNOPSIS

In your dist.ini:

[OnlyCorePrereqs]
starting_version = 5.010

DESCRIPTION

[OnlyCorePrereqs] is a Dist::Zilla plugin that checks at build time if you have any declared prerequisites that are not shipped with perl.

You can specify the first perl version to check against, and which prerequisite phase(s) are significant.

OPTIONS

  • phase

    Indicates a phase to check against. Can be provided more than once; defaults to runtime and test. (See Dist::Zilla::Plugin::Prereqs for more information about phases.)

    Remember that you can use different settings for different phases by employing this plugin twice, with different names.

  • starting_version

    Indicates the first perl version that should be checked against; any versions earlier than this are not considered significant for the purposes of core checks. Defaults to 5.005.

    There are two special values supported:

    • current - indicates the version of Perl that you are currently running with

    • latest - indicates the most recent release of Perl

    (Note: if you wish to check against all changes in core up to the very latest Perl release, or you should upgrade your Module::CoreList installation. You can guarantee you are always running the latest version with Dist::Zilla::Plugin::PromptIfStale. This module is also the mechanism used for determining the version of the latest Perl release.)

  • deprecated_ok

    A boolean flag indicating whether it is considered acceptable to depend on a deprecated module. Defaults to 0.

SUPPORT

Bugs may be submitted through the RT bug tracker (or bug-Dist-Zilla-Plugin-OnlyCorePrereqs@rt.cpan.org). I am also usually active on irc, as 'ether' at irc.perl.org.

AUTHOR

Karen Etheridge <ether@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Karen Etheridge.

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