NAME
App::ListRevDeps - List reverse dependencies of a Perl module
VERSION
This document describes version 0.09 of App::ListRevDeps (from Perl distribution App-ListRevDeps), released on 2014-08-16.
SYNOPSIS
# Use via list-rev-deps CLI script
DESCRIPTION
Currently uses MetaCPAN API and also scrapes the MetaCPAN website and by default caches results for 24 hours.
FUNCTIONS
list_rev_deps(%args) -> [status, msg, result, meta]
List reverse dependencies of a Perl module.
Arguments ('*' denotes required arguments):
cache => bool (default: 1)
Whether to cache API results for some time, for performance.
exclude_re => str
Specify dist pattern to exclude.
level => int (default: 1)
Specify how many levels up to check (-1 means unlimited).
module* => array
Perl module(s) to check.
raw => bool (default: 0)
Return raw result.
Return value:
Returns an enveloped result (an array).
First element (status) is an integer containing HTTP status code (200 means OK, 4xx caller error, 5xx function error). Second element (msg) is a string containing error message, or 'OK' if status is 200. Third element (result) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information.
(any)
ENVIRONMENT
LOG_API_RESPONSE (bool)
If enabled, will log raw API response (at trace level).
SEE ALSO
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/App-ListRevDeps.
SOURCE
Source repository is at https://github.com/sharyanto/perl-App-ListRevDeps.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-ListRevDeps
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.