NAME

Dist::Zilla::Plugin::CheckPrereqsIndexed - prevent a release if you have prereqs not found on CPAN

VERSION

version 0.022

OVERVIEW

Sometimes, AutoPrereqs is a little overzealous and finds a prereq that you wrote inline or have in your ./t directory. Although AutoPrereqs should grow more accurate over time, and avoid these mistakes, it's not perfect right now. CheckPrereqsIndexed will check every required package against the CPAN index to ensure that they're all real, installable packages.

If any are unknown, it will prompt the user to continue or abort.

Previously, CheckPrereqsIndexed queried CPANIDX, but it now queries cpanmetadb. This behavior may change again in the future, or it may become pluggable. In the meantime, this makes releasing while offline impossible... but it was anyway, right?

PERL VERSION

This module should work on any version of perl still receiving updates from the Perl 5 Porters. This means it should work on any version of perl released in the last two to three years. (That is, if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38.)

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

ATTRIBUTES

skips

This is an array of regular expressions. Any module names matching any of these regex will not be checked. This should only be necessary if you have a prerequisite that is not available on CPAN (because it's distributed in some other way).

AUTHOR

Ricardo Signes <cpan@semiotic.systems>

CONTRIBUTORS

  • Christopher J. Madsen <perl@cjmweb.net>

  • Dave Rolsky <autarch@urth.org>

  • David Golden <dagolden@cpan.org>

  • Karen Etheridge <ether@cpan.org>

  • Olivier Mengué <dolmen@cpan.org>

  • Piers Cawley <pdcawley@bofh.org.uk>

  • Ricardo Signes <rjbs@semiotic.systems>

  • Sébastien Deseille <sebastien.deseille@gmail.com>

  • Van de Bugger <van.de.bugger@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Ricardo Signes.

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