The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Perinci::Access::Lite - A lightweight Riap client library

VERSION

This document describes version 0.03 of Perinci::Access::Lite (from Perl distribution Perinci-Access-Lite), released on 2014-09-21.

DESCRIPTION

This module is a lightweight alternative to Perinci::Access. It has less prerequisites but does fewer things. The things it supports:

  • Local (in-process) access to Perl modules and functions

    Currently only call, meta, and list actions are implemented. Variables and other entities are not yet supported.

    The list action only gathers keys from %SPEC and do not yet list subpackages.

  • HTTP/HTTPS

  • HTTP over Unix socket

Differences with Perinci::Access:

  • For network access, uses HTTP::Tiny module family instead of LWP

    This results in fewer dependencies.

  • No wrapping, no argument checking

    For 'pl' or schemeless URL, no wrapping (Perinci::Sub::Wrapper) is done, only normalization (using Perinci::Sub::Normalize).

  • No transaction or logging support

  • No support for some schemes

    This includes: Riap::Simple over pipe/TCP socket.

METHODS

new => obj

$pa->request($action, $url, $extra) => hash

SEE ALSO

Perinci::Access

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Perinci-Access-Lite.

SOURCE

Source repository is at https://github.com/perlancar/perl-Perinci-Access-Lite.

BUGS

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

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

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

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