CPAN::FindDependencies::Dependency - object representing a module dependency
my @dependencies = CPAN::FindDependencies::finddeps("CPAN"); foreach my $dep (@dependencies) { print ' ' x $dep->depth(); print $dep->name().' (dist: '.$dep->distribution().', mod ver: '.$dep->version().")\n"; }
The following read-only accessors are available. You will note that there is no public constructor and no mutators. Objects will be created by the CPAN::FindDependencies module.
The name of the module
The name of the distribution containing the module
The minimum required version (if specified) of the module
How deeply nested this module is in the dependency tree
If any warnings were generated while processing the module (even if suppressed), this will return them.
None known
I welcome feedback about my code, including constructive criticism and bug reports. The best bug reports include files that I can add to the test suite, which fail with the current code in my git repo and will pass once I've fixed the bug
git://github.com/DrHyde/perl-modules-CPAN-FindDependencies.git
CPAN::FindDepdendencies
CPAN
http://deps.cpantesters.org/
Copyright 2007 David Cantrell <david@cantrell.org.uk>
This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively.
This module is also free-as-in-mason software.
To install CPAN::FindDependencies, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::FindDependencies
CPAN shell
perl -MCPAN -e shell install CPAN::FindDependencies
For more information on module installation, please visit the detailed CPAN module installation guide.