X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FObject%2FRemote.pm;h=fc6e9557643fae60f0fb00d17a9039ee5161d9f4;hb=3687a42d0f4ac20dfd2cb31cb76cf9866ee63f14;hp=8894cc7588e3bb67fa50e6ee4734c3297c109c71;hpb=4c17fea55a562db315a029e6bd67b7dbb028a8e9;p=scpubgit%2FObject-Remote.git 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 {