X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FProxy.pm;h=8541056920c8c711d7846f31eb168ebea1bf4147;hp=a3e2a805b70feac24c15dddfc2b8a680d8ab2fcf;hb=2065b08ba567dbf8c8370b69e3f5b2aa145efe23;hpb=9d804009b5363c739598a9cc4507df57a2d59c55 diff --git a/lib/Object/Remote/Proxy.pm b/lib/Object/Remote/Proxy.pm index a3e2a80..8541056 100644 --- a/lib/Object/Remote/Proxy.pm +++ b/lib/Object/Remote/Proxy.pm @@ -5,7 +5,7 @@ use strictures 1; sub AUTOLOAD { my $self = shift; (my $method) = (our $AUTOLOAD =~ /([^:]+)$/); - $self->{remote}->call($method => @_); + $self->{remote}->${\$self->{method}}($method => @_); } sub DESTROY { }