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


CPAN-FindDependencies documentation  | view source Contained in the CPAN-FindDependencies distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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";
    }

METHODS

Top

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

version

The minimum required version (if specified) of 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

Top

None known

FEEDBACK

Top

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

Top

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

SEE ALSO

Top

CPAN::FindDepdendencies

CPAN

http://deps.cpantesters.org/

AUTHOR, LICENCE and COPYRIGHT

Top

CONSPIRACY

Top

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


CPAN-FindDependencies documentation  | view source Contained in the CPAN-FindDependencies distribution.