projects
/
scpubgit/Object-Remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
switch from CPS::Future to Future
[scpubgit/Object-Remote.git]
/
lib
/
Object
/
Remote
/
Proxy.pm
diff --git
a/lib/Object/Remote/Proxy.pm
b/lib/Object/Remote/Proxy.pm
index
68706bd
..
18e8436
100644
(file)
--- 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 => @_);
}