1CPAN::FindDependencies:U:sDeerpeCnodnetnrciyb(u3t)ed PerClPADNo:c:uFmienndtDaetpieonndencies::Dependency(3)
2
3
4
6 CPAN::FindDependencies::Dependency - object representing a module
7 dependency
8
10 my @dependencies = CPAN::FindDependencies::finddeps("CPAN");
11 foreach my $dep (@dependencies) {
12 print ' ' x $dep->depth();
13 print $dep->name().' (dist: '.$dep->distribution().', mod ver: '.$dep->version().")\n";
14 }
15
17 The following read-only accessors are available. You will note that
18 there is no public constructor and no mutators. Objects will be
19 created by the CPAN::FindDependencies module.
20
21 name
22 The name of the module
23
24 distribution
25 The name of the distribution containing the module
26
27 version
28 The minimum required version (if specified) of the module
29
30 depth
31 How deeply nested this module is in the dependency tree
32
33 warning
34 If any warnings were generated while processing the module (even if
35 suppressed), this will return them.
36
38 None known
39
41 I welcome feedback about my code, including constructive criticism and
42 bug reports. The best bug reports include files that I can add to the
43 test suite, which fail with the current code in my git repo and will
44 pass once I've fixed the bug
45
47 <git://github.com/DrHyde/perl-modules-CPAN-FindDependencies.git>
48
50 CPAN::FindDepdendencies
51
52 CPAN
53
54 <http://deps.cpantesters.org/>
55
57 Copyright 2007 David Cantrell <david@cantrell.org.uk>
58
59 This software is free-as-in-speech software, and may be used,
60 distributed, and modified under the terms of either the GNU General
61 Public Licence version 2 or the Artistic Licence. It's up to you which
62 one you use. The full text of the licences can be found in the files
63 GPL2.txt and ARTISTIC.txt, respectively.
64
66 This module is also free-as-in-mason software.
67
68
69
70perl v5.28.1 2018-05-C2P3AN::FindDependencies::Dependency(3)