NAME

RPC::Object - A lightweight implementation for remote procedure calls

SYNOPSIS

On server

use RPC::Object::Broker;
$b = $RPC::Object::Broker->new($port);
$b->start();

On client

use RPC::Object;
$o = RPC::Object->new("$host:$port", 'method_a', 'The::Module');
my $ans1 = $o->method_b($arg1, $arg2);
my @ans2 = $o->method_c($arg3, $arg4);

DESCRIPTON

RPC::Object is designed to be very simple and only works between Perl codes, This makes its implementation only need some core Perl modules, e.g. IO and Storable.

Other approaches like SOAP or XML-RPC are too heavy for simple tasks.

AUTHORS

Jianyuan Wu <jwu@cpan.org>

COPYRIGHT

Copyright 2006 by Jianyuan Wu <jwu@cpan.org>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.