my $c = Object::Remote::Connector::UNIX->new->connect($ARGV[0]);
-my $cch = $c->new_class_call_handler;
+$c->register_class_class_handler;
-$c->new_remote(id => 'master')->register_slave(
- class_call_handler => $cch,
+$c->remote_object(id => 'master')->register_slave(
pid => $$,
argv => \@ARGV
)->run;
use Object::Remote::Handle;
use Module::Runtime qw(use_module);
-our $VERSION = '0.002001'; # 0.2.1
+our $VERSION = '0.002002'; # 0.2.2
sub new::on {
my ($class, $on, @args) = @_;