
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().' ('.$dep->distribution().")\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
How deeply nested this module is in the dependency tree
The CPAN::Module object from which most of this was derived

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 CVS and will pass once I've fixed the bug

http://drhyde.cvs.sourceforge.net/drhyde/perlmodules/CPAN-FindDependencies/

http://cpandeps.cantrell.org.uk/

Copyright 2007 David Cantrell <david@cantrell.org.uk>
This module is free-as-in-speech software, and may be used, distributed, and modified under the same terms as Perl itself.

This module is also free-as-in-mason software.