Neil Bowers

NAME

CPAN::ReverseDependencies - given a CPAN dist name, find other CPAN dists that use it

SYNOPSIS

 use CPAN::ReverseDependencies;
 
 my $revua = CPAN::ReverseDependencies->new();
 my @deps  = $revua->get_reverse_dependencies('Module-Path');

DESCRIPTION

CPAN::ReverseDependencies takes the name of a CPAN distribution and returns a list containing names of other CPAN distributions that have declared a dependence on the specified distribution.

It uses the MetaCPAN API to look up the reverse dependencies, so obviously you have to be online for this module to work.

This module will croak in a number of situations:

  • If you request reverse dependencies for a non-existent distribution;

  • If you're not online;

  • If there's a problem with MetaCPAN itself.

REPOSITORY

https://github.com/neilbowers/CPAN-ReverseDependencies

AUTHOR

Neil Bowers <neilb@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Neil Bowers <neilb@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.