parti8al conversion to future based system; start still being weird
[scpubgit/Object-Remote.git] / lib / Object / Remote / Proxy.pm
index 8541056..af6a902 100644 (file)
@@ -5,6 +5,9 @@ use strictures 1;
 sub AUTOLOAD {
   my $self = shift;
   (my $method) = (our $AUTOLOAD =~ /([^:]+)$/);
+  if ((caller(0)||'') eq 'start') {
+    $method = "start::${method}";
+  }
   $self->{remote}->${\$self->{method}}($method => @_);
 }