X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote.pm;h=35f5c03171939e2eb9af24dc994e7f1362de2426;hp=326a3a580034389fe1f7f8ae6184372e3f4f90ec;hb=9d804009b5363c739598a9cc4507df57a2d59c55;hpb=9e72f0cf54e92bccdba71eb75037f1cfe4f69f36 diff --git a/lib/Object/Remote.pm b/lib/Object/Remote.pm index 326a3a5..35f5c03 100644 --- a/lib/Object/Remote.pm +++ b/lib/Object/Remote.pm @@ -12,7 +12,7 @@ has id => (is => 'rwp'); has proxy => (is => 'lazy', weak_ref => 1); sub _build_proxy { - bless({ handle => $_[0] }, 'Object::Remote::Proxy'); + bless({ remote => $_[0] }, 'Object::Remote::Proxy'); } sub BUILD { @@ -36,7 +36,7 @@ sub current_loop { } sub call { - my ($self, $id, $method, @args) = @_; + my ($self, $method, @args) = @_; $self->_await($self->connection->send(call => $self->id, $method, @args)); }