David Cantrell > CPAN-FindDependencies-2.42 > CPAN::FindDependencies::Dependency

Download:
CPAN-FindDependencies-2.42.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
Stalled  1
View/Report Bugs
Module Version: 2.1   Source  

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().' (dist: '.$dep->distribution().', mod ver: '.$dep->version().")\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

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 ^

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 ^

git://github.com/DrHyde/perl-modules-CPAN-FindDependencies.git

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.

syntax highlighting: