NAME
Dist::Zilla::Plugin::AutoPrereq - automatically extract prereqs from your modules
VERSION
version 1.100080
SYNOPSIS
In your dist.ini:
[AutoPrereq]
skip = ^Foo|Bar$
DESCRIPTION
This plugin will extract loosely your distribution prerequisites from your files.
The extraction may not be perfect, since it will only find the following prereqs:
plain lines beginning with
use
orrequire
in your perl modules and scripts.Moose inheritance declared with the
extends
keyword (warning: only the first one is currently extracted).Moose roles included with the
with
keyword.
If some prereqs are not found, you can still add them manually with the Dist::Zilla::Plugin::Prereq plugin.
It will trim the following pragamata: strict
, warnings
and lib
. It will also trim the modules under your dist namespace (eg: for Dist-Zilla
, it will trim all Dist::Zilla::*
prereqs found.
The module accept the following options:
skip: a regex that will remove any matching modules found from prereqs.
SEE ALSO
You can look for information on this module at:
Search CPAN
See open / report bugs
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dist-Zilla-Plugin-AutoPrereq
Mailing-list (same as Dist::Zilla)
Git repository
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
AUTHOR
Jerome Quelin
COPYRIGHT AND LICENSE
This software is copyright (c) 2009 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.