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

NAME

6       cpanfile-dump - Dump prerequisites from a cpanfile
7

SYNOPSIS

9         # Install typical required and recommended modules
10         cpan `cpanfile-dump`
11
12         # Skip configures phase
13         cpan `cpanfile-dump --no-configure`
14
15         # Also include develop phase and suggests type
16         cpan `cpanfile-dump --develop --suggests`
17
18         # Include a feature
19         cpan `cpanfile-dump --with-feature=sqlite`
20

DESCRIPTION

22       This script reads prereqs from a cpanfile and dumps a raw list of them
23       to standard output.  This is useful for piping these as input to
24       another program that doesn't support reading cpanfile directly, i.e.
25       "cpan" or "cpanp".
26
27       By default, it prints configure, build, test and runtime requirements
28       and recommendations.  Command line options can be used to modify the
29       default choices.
30
31       This script is distributed with Module::CPANfile since version 1.0002.
32

OPTIONS

34       --configure, --build, --test, --runtime, --develop
35           Specify the phase to include/exclude. Defaults to include all but
36           "--develop" but you can exclude some phases by specifying the
37           options with "--no-" prefix, like "--no-configure".
38
39       --requires, --recommends, --suggests, --conflicts
40           Specify the type to include/exclude. Defaults to include only
41           "--requires" and "--recommends" but you can exclude some types by
42           specifying the options with "--no-" prefix, like "--no-recommends".
43
44           Specifying "--conflicts" will turn off all other types (even if
45           specified on the command line).
46
47       --with-feature, --with-all-features, --without-feature
48               cpanfile-dump --with-feature=sqlite
49               cpanfile-dump --with-all-features --without-feature=yaml
50
51           Specify features to include in the dump.  "--with-feature" and
52           "--without-feature" may be used more than once.
53

NOTES

55       Because "cpanm" supports reading cpanfile directly, instead of piping
56       the output of this program, you're recommended to use "cpanm
57       --installdeps ." to install modules from cpanfile.
58

AUTHOR

60       David Golden
61

SEE ALSO

63       Module::CPANfile cpanfile App::mymeta_requires
64
65
66
67perl v5.32.1                      2021-01-27                  CPANFILE-DUMP(1)
Impressum