NAME
Dist::Zilla::Plugin::AutoPrereq - automatically extract prereqs from your modules
VERSION
version 1.100640
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 but tries to do its best. It will currently find the following prereqs:
plain lines beginning with
use
orrequire
in your perl modules and scripts. This includes minimum perl version.regular inheritance declated with the
base
andparent
pragamata.Moose inheritance declared with the
extends
keyword.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
, base
and lib
. However, parent
is kept, since it's not in a core module.
It will also trim the modules shipped within your dist.
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.