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       It also takes the following extra parameter, which must be the first
66       one:
67
68       --showmoduleversions
69           If present, the required version of each module is also shown
70
71       It shows the module name, its distribution, and if any warnings were
72       raised (such as if a module's dependencies couldn't be fetched) this is
73       indicated with an asterisk before the module's name.
74

WARNINGS, BUGS and FEEDBACK

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

SEE ALSO

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

CONSPIRACY

96       This software is also free-as-in-mason.
97
98
99
100perl v5.30.0                      2019-07-26                       CPANDEPS(1)
Impressum