parti8al conversion to future based system; start still being weird
[scpubgit/Object-Remote.git] / lib / Object / Remote / Proxy.pm
CommitLineData
9e72f0cf 1package Object::Remote::Proxy;
2
3use strictures 1;
4
5sub AUTOLOAD {
6 my $self = shift;
7 (my $method) = (our $AUTOLOAD =~ /([^:]+)$/);
dc28afe8 8 if ((caller(0)||'') eq 'start') {
9 $method = "start::${method}";
10 }
2065b08b 11 $self->{remote}->${\$self->{method}}($method => @_);
9e72f0cf 12}
13
14sub DESTROY { }
15
161;