Perinci::Access::Lite - A lightweight Riap client library
This document describes version 0.14 of Perinci::Access::Lite (from Perl distribution Perinci-Access-Lite), released on 2016-09-25.
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.
call
meta
list
The list action only gathers keys from %SPEC and do not yet list subpackages.
%SPEC
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.
This class might add the following property/attribute in result metadata:
If result's schema type is buf, then this class will set this attribute to true, to give hints to result formatters.
buf
Please visit the project's homepage at https://metacpan.org/release/Perinci-Access-Lite.
Source repository is at https://github.com/perlancar/perl-Perinci-Access-Lite.
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.
Perinci::Access
perlancar <perlancar@cpan.org>
This software is copyright (c) 2016 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 Perinci::Access::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perinci::Access::Lite
CPAN shell
perl -MCPAN -e shell install Perinci::Access::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.