1MYMETA-CPANFILE(1)    User Contributed Perl Documentation   MYMETA-CPANFILE(1)
2
3
4

NAME

6       mymeta-cpanfile - Dump cpanfile out of (MY)META files
7

SYNOPSIS

9         perl Makefile.PL # or Build.PL
10         mymeta-cpanfile
11
12         # Skip configures phase and suggests type
13         mymeta-cpanfile --no-configure --no-suggests
14
15         # Include empty blcok for phases without prereqs
16         mymeta-cpanfile --include-empty
17

DESCRIPTION

19       This script reads prereqs metadata from MYMETA files in the current
20       directory and prints "cpanfile" that represents the prereqs. Useful
21       when you want to migrate to using cpanfile from existing "Makefile.PL"
22       or "Build.PL" with dependency specification.
23
24       This script is distributed with Module::CPANfile since version 0.9021.
25

OPTIONS

27       --configure, --build, --test, --runtime, --develop
28           Specify the phase to include/exclude. Defaults to include all
29           phases, but you can exclude some phases by specifying the options
30           with "--no-" prefix, like "--no-configure".
31
32       --requires, --recommends, --suggests, --conflicts
33           Specify the type to include/exclude. Defaults to include all types,
34           but you can exclude some types by specifying the options with
35           "--no-" prefix, like "--no-conflicts".
36
37       --include-empty
38           By default, phases without any prereqs are not dumped, By giving
39           this option, cpanfile will have an empty block such as:
40
41             on test => sub {
42
43             };
44
45           Defaults to false.
46

AUTHOR

48       Tatsuhiko Miyagawa
49

SEE ALSO

51       Module::CPANfile cpanfile App::mymeta_requires
52
53
54
55perl v5.38.0                      2023-07-20                MYMETA-CPANFILE(1)
Impressum