From: Matt S Trout Date: Mon, 23 Jul 2012 17:18:37 +0000 (+0000) Subject: bump version X-Git-Tag: v0.002002~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=commitdiff_plain;h=ffc818dd92a3e0434bbee8d7843fcabb9e0bbb44 bump version --- diff --git a/bin/object-remote-slave b/bin/object-remote-slave index 4784ee5..01d98fc 100644 --- a/bin/object-remote-slave +++ b/bin/object-remote-slave @@ -6,10 +6,9 @@ use Object::Remote; 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; diff --git a/lib/Object/Remote.pm b/lib/Object/Remote.pm index 1d3edf9..a20ef97 100644 --- a/lib/Object/Remote.pm +++ b/lib/Object/Remote.pm @@ -4,7 +4,7 @@ use Object::Remote::MiniLoop; 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) = @_;