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


version 0.021


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?


This module has the same support period as perl itself: it supports the two most recent versions of perl. (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.



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).


Ricardo Signes <>


  • Christopher J. Madsen <>

  • Dave Rolsky <>

  • David Golden <>

  • Karen Etheridge <>

  • Olivier Mengué <>

  • Piers Cawley <>

  • Sébastien Deseille <>

  • Van de Bugger <>


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.