NAME

peri-sockserve - Serve Perl modules using the Riap::Simple protocol over sockets

VERSION

version 0.14

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;
    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

SEE ALSO

Riap::Simple, Riap, Rinci

Perinci::Access::Simple::Client, Perinci::Access

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

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.