peri-sockserve - Serve Perl modules using the Riap::Simple protocol over sockets
version 0.10
# 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; my $res = $pa->request(call=>"riap+tcp://localhost:5678/Foo/Bar/func1", {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
Riap::Simple, Riap, Rinci
Perinci::Access::Simple::Client, Perinci::Access
Steven Haryanto <stevenharyanto@gmail.com>
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.
To install Perinci::Access::Simple::Server, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perinci::Access::Simple::Server
CPAN shell
perl -MCPAN -e shell install Perinci::Access::Simple::Server
For more information on module installation, please visit the detailed CPAN module installation guide.