NAME

App::ThisDist::OnMetaCPAN - this-dist-on-metacpan and some other CLIs

VERSION

This document describes version 0.002 of App::ThisDist::OnMetaCPAN (from Perl distribution App-ThisDist-OnMetaCPAN), released on 2021-03-07.

DESCRIPTION

This distribution provides the following CLIs:

FUNCTIONS

this_dist_on_metacpan

Usage:

this_dist_on_metacpan() -> [status, msg, payload, meta]

Open MetaCPAN release page for "the current distribution".

This is a thin wrapper for this-dist. See its documentation for details on how the script determines "the current distribution".

This function is not exported.

No arguments.

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 (payload) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information.

Return value: (any)

this_mod_on_metacpan

Usage:

this_mod_on_metacpan() -> [status, msg, payload, meta]

Open MetaCPAN module page for "the current module".

This is a thin wrapper for this-mod. See its documentation for details on how the script determines "the current module".

This function is not exported.

No arguments.

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 (payload) is optional, the actual result. Fourth element (meta) is called result metadata and is optional, a hash that contains extra information.

Return value: (any)

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-ThisDist-OnMetaCPAN.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-ThisDist-OnMetaCPAN.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-ThisDist-OnMetaCPAN

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.

SEE ALSO

App::ThisDist

lcpan subcommands: lcpan metacpan-mod, lcpan metacpan-dist

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2021 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.