1CPANDEPS(1)           User Contributed Perl Documentation          CPANDEPS(1)
2
3
4

NAME

6       cpandeps - show a module on the CPAN's dependency tree.
7

DESCRIPTION

9       This program is a simple wrapper around CPAN::FindDependencies.
10

SYNOPSIS

12           cpandeps CPAN::FindDependencies
13
14           cpandeps CPAN::FindDependencies perl 5.8.8 cachedir ../foo/bar
15
16           cpandeps --showmoduleversions CPAN::FindDependencies
17
18       Given a module name, this program will show you the module's dependency
19       tree.  It takes exactly the same arguments as the "finddeps" function
20       of CPAN::FindDependencies, with the exception that "nowarnings" is
21       turned *on* by default.
22
23       nowarnings
24           Warnings about modules where we can't find their META.yml or
25           Makefile.PL, and so can't divine their pre-requisites, will be
26           suppressed;
27
28       fatalerrors
29           Failure to get a module's dependencies will be a fatal error
30           instead of merely emitting a warning;
31
32       perl
33           Use this version of perl to figure out what's in core.  If not
34           specified, it defaults to 5.005.  Three part version numbers (eg
35           5.8.8) are supported but discouraged.
36
37       02packages
38           The location of CPAN.pm's "02packages.details.txt.gz" file as a
39           local filename, with either a relative or an absolute path.  If not
40           specified, it is fetched from a CPAN mirror instead.  The file is
41           fetched just once.
42
43       cachedir
44           A directory to use for caching.  It defaults to no caching.  Even
45           if caching is turned on, this is only for META.yml or Makefile.PL
46           files.  02packages is not cached - if you want to read that from a
47           local disk, see the "02packages" option.
48
49       maxdepth
50           Cuts off the dependency tree at the specified depth.  Your
51           specified module is at depth 0, your dependencies at depth 1, their
52           dependencies at depth 2, and so on.
53
54       usemakefilepl
55           If set to true, then for any module that doesn't have a META.yml,
56           try to use its Makefile.PL as well.  Note that this involves
57           downloading code from the Internet and running it.  This obviously
58           opens you up to all kinds of bad juju, hence why it is disabled by
59           default.
60
61       recommended
62           Adds recommended modules to the list of dependencies, if set to a
63           true value.
64
65       configreqs
66            Adds modules required for configuration (the 'configure_requires' list in yaml) to the list of dependencies, if set to a true value.
67
68       It also takes the following extra parameter, which must be the first
69       one:
70
71       --showmoduleversions
72           If present, the required version of each module is also shown
73
74       It shows the module name, its distribution, and if any warnings were
75       raised (such as if a module's dependencies couldn't be fetched) this is
76       indicated with an asterisk before the module's name.
77

WARNINGS, BUGS and FEEDBACK

79       This script has not been thoroughly tested.
80
81       I welcome feedback about my code, including constructive criticism.
82       Bug reports should be made on Github or by email.
83

SEE ALSO

85       CPAN::FindDependencies
86
87       <http://deps.cpantesters.org/>
88
90       Copyright 2007 - 2009 David Cantrell <david@cantrell.org.uk>
91
92       This software is free-as-in-speech software, and may be used,
93       distributed, and modified under the terms of either the GNU General
94       Public Licence version 2 or the Artistic Licence. It's up to you which
95       one you use. The full text of the licences can be found in the files
96       GPL2.txt and ARTISTIC.txt, respectively.
97

CONSPIRACY

99       This software is also free-as-in-mason.
100
101
102
103perl v5.32.0                      2020-07-28                       CPANDEPS(1)
Impressum