X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FObject%2FRemote%2FProxy.pm;h=18e8436ddb966cc77d674cdc6759d937d68a72e3;hb=de9062cfef7f98d0efc01b114328959f2f84ada4;hp=68706bddff69d8f9bdb22f59cda96522cfbe8505;hpb=5add5e29851e82862e4d8f6d67dfce559f6685ce;p=scpubgit%2FObject-Remote.git diff --git a/lib/Object/Remote/Proxy.pm b/lib/Object/Remote/Proxy.pm index 68706bd..18e8436 100644 --- a/lib/Object/Remote/Proxy.pm +++ b/lib/Object/Remote/Proxy.pm @@ -10,11 +10,11 @@ sub AUTOLOAD { if ((caller(0)||'') eq 'start') { $to_fire = "start::${to_fire}"; } - + unless ($self->{remote}->is_valid) { croak "Attempt to use Object::Remote::Proxy backed by an invalid handle"; } - + $self->{remote}->$to_fire($method => @_); }