NAME
peri-sockserve - Serve Perl modules using the Riap::Simple protocol over sockets
VERSION
version 0.10
SYNOPSIS
# serve modules
% peri-sockserve -p 127.0.0.1:5678 -s /path/to/unix/sock Foo::Bar Baz::*
# access the server
% perl -MPerinci::Access -e'
my
$pa
= Perinci::Access->new;
{
args
=>{
a1
=>1,
a2
=>2}});'
my
$res
=
$pa
->request(
meta
=>
"riap+tcp:path/to/unix/sock//Baz/Qux/func2"
);'
# see more options
% peri-sockserve --help
SEE ALSO
Perinci::Access::Simple::Client, Perinci::Access
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 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.