Perinci::Access::Base - Base class for all Perinci Riap clients
version 0.29
This is a thin base class for all Riap clients (Perinci::Access::*). It currently only provides check_request() to do some basic sanity checking of the Riap request hash $req. It also provides a barebones new().
Perinci::Access::*
$req
new()
Constructor. Does nothing except creating a blessed hashref from %args. Subclasses should override this method and do additional stuffs as needed.
%args
Should be called by subclasses during the early phase in request(). Will return an enveloped error response on error, or undef on success.
request()
Perinci::Access
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2013 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.
To install Perinci::Access::Base, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perinci::Access::Base
CPAN shell
perl -MCPAN -e shell install Perinci::Access::Base
For more information on module installation, please visit the detailed CPAN module installation guide.