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=fc6e9557643fae60f0fb00d17a9039ee5161d9f4;hp=8894cc7588e3bb67fa50e6ee4734c3297c109c71;hb=11dbd4a02cce95ee689233d2b1d2392470518732;hpb=5c608989561bc4892923c9e00dd20db910658fd1 diff --git a/lib/Object/Remote.pm b/lib/Object/Remote.pm index 8894cc7..fc6e955 100644 --- a/lib/Object/Remote.pm +++ b/lib/Object/Remote.pm @@ -7,7 +7,7 @@ use Module::Runtime qw(use_module); sub new::on { my ($class, $on, @args) = @_; my $conn = __PACKAGE__->connect($on); - return $conn->new_remote(class => $class, args => \@args); + return $conn->remote_object(class => $class, args => \@args); } sub new {