1Dist::Zilla::Plugin::AuUtsoePrreCroenqtsr(i3b)uted PerlDDiosctu:m:eZnitlaltai:o:nPlugin::AutoPrereqs(3)
2
3
4

NAME

6       Dist::Zilla::Plugin::AutoPrereqs - automatically extract prereqs from
7       your modules
8

VERSION

10       version 6.031
11

SYNOPSIS

13       In your dist.ini:
14
15         [AutoPrereqs]
16         skip = ^Foo|Bar$
17         skip = ^Other::Dist
18

DESCRIPTION

20       This plugin will extract loosely your distribution prerequisites from
21       your files using Perl::PrereqScanner.
22
23       If some prereqs are not found, you can still add them manually with the
24       Prereqs plugin.
25
26       This plugin will skip the modules shipped within your dist.
27
28       Note, if you have any non-Perl files in your "t/" directory or other
29       directories being scanned, be sure to mark those files' encoding as
30       "bytes" with the Encoding plugin so they won't be scanned:
31
32           [Encoding]
33           encoding = bytes
34           match    = ^t/data/
35

PERL VERSION

37       This module should work on any version of perl still receiving updates
38       from the Perl 5 Porters.  This means it should work on any version of
39       perl released in the last two to three years.  (That is, if the most
40       recently released version is v5.40, then this module should work on
41       both v5.40 and v5.38.)
42
43       Although it may work on older versions of perl, no guarantee is made
44       that the minimum required version will not be increased.  The version
45       may be increased for any reason, and there is no promise that patches
46       will be accepted to lower the minimum required perl.
47

ATTRIBUTES

49   finder
50       This is the name of a FileFinder whose files will be scanned to
51       determine runtime prerequisites.  It may be specified multiple times.
52       The default value is ":InstallModules" and ":ExecFiles".
53
54   test_finder
55       Just like "finder", but for test-phase prerequisites.  The default
56       value is ":TestFiles".
57
58   configure_finder
59       Just like "finder", but for configure-phase prerequisites.  There is no
60       default value; AutoPrereqs will not determine configure-phase
61       prerequisites unless you set configure_finder.
62
63   develop_finder
64       Just like "finder", but for develop-phase prerequisites.  The default
65       value is ":ExtraTestFiles".
66
67   skips
68       This is an arrayref of regular expressions, derived from all the 'skip'
69       lines in the configuration.  Any module names matching any of these
70       regexes will not be registered as prerequisites.
71
72   relationship
73       The relationship used for the registered prerequisites. The default
74       value is 'requires'; other options are 'recommends' and 'suggests'.
75
76   extra_scanners
77       This is an arrayref of scanner names (as expected by
78       Perl::PrereqScanner).  It will be passed as the "extra_scanners"
79       parameter to Perl::PrereqScanner.
80
81   scanners
82       This is an arrayref of scanner names (as expected by
83       Perl::PrereqScanner).  If present, it will be passed as the "scanners"
84       parameter to Perl::PrereqScanner, which means that it will replace the
85       default list of scanners.
86

SEE ALSO

88       Prereqs, Perl::PrereqScanner.
89

CREDITS

91       This plugin was originally contributed by Jerome Quelin.
92

AUTHOR

94       Ricardo SIGNES 😏 <cpan@semiotic.systems>
95
97       This software is copyright (c) 2023 by Ricardo SIGNES.
98
99       This is free software; you can redistribute it and/or modify it under
100       the same terms as the Perl 5 programming language system itself.
101
102
103
104perl v5.36.1                      2023-11-21Dist::Zilla::Plugin::AutoPrereqs(3)
Impressum