App::ListRevDeps - List reverse dependencies of a Perl module
This document describes version 0.16 of App::ListRevDeps (from Perl distribution App-ListRevDeps), released on 2017-07-10.
# Use via list-rev-deps CLI script
Currently uses MetaCPAN API and also scrapes the MetaCPAN website and by default caches results for 24 hours.
Usage:
list_rev_deps(%args) -> [status, msg, result, meta]
List reverse dependencies of a Perl module.
This function is not exported.
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.
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.
Return value: (any)
LOG_API_RESPONSE (bool)
If enabled, will log raw API response (at trace level).
Please visit the project's homepage at https://metacpan.org/release/App-ListRevDeps.
Source repository is at https://github.com/perlancar/perl-App-ListRevDeps.
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.
App::lcpan indexes CPAN Meta information from releases in your local CPAN mirror, and allows you to query dependencies and reverse dependencies information from the index.
perlancar <perlancar@cpan.org>
This software is copyright (c) 2017, 2016, 2015, 2014, 2013 by perlancar@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.
To install App::ListRevDeps, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::ListRevDeps
CPAN shell
perl -MCPAN -e shell install App::ListRevDeps
For more information on module installation, please visit the detailed CPAN module installation guide.