NAME

CPAN::FindDependencies::Dependency - object representing a module dependency

SYNOPSIS

my @dependencies = CPAN::FindDependencies::finddeps("CPAN");
foreach my $dep (@dependencies) {
    print ' ' x $dep->depth();
    print $dep->name().' ('.$dep->distribution().")\n";
}

METHODS

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.

name

The name of the module

distribution

The name of the distribution containing the module

depth

How deeply nested this module is in the dependency tree

warning

If any warnings were generated while processing the module (even if suppressed), this will return them.

BUGS/LIMITATIONS

None known

FEEDBACK

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

SOURCE CODE REPOSITORY

http://www.cantrell.org.uk/cgit/cgit.cgi/perlmodules/

SEE ALSO

CPAN::FindDepdendencies

CPAN

http://deps.cpantesters.org/

AUTHOR, LICENCE and COPYRIGHT

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.

CONSPIRACY

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