| 1 | package Tak::ObjectProxy; | ||
| 2 | |||
| 3 | 1 | ▶ | use strictures 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | sub AUTOLOAD { | ||
| 6 | 0 | ▶ | my $self = shift; |
|
Subroutine
AUTOLOAD: not called CC=1 SCAR=6.9
| |||
| 7 | 0 | (my $method) = (our $AUTOLOAD =~ /([^:]+)$/); | |
| 8 | 0 | $self->{client}->proxy_method_call($self, $method => @_); | |
| 9 | } | ||
| 10 | |||
| 11 | sub DESTROY { | ||
| 12 | 0 | ▶ | my $self = shift; |
|
Subroutine
DESTROY: not called CC=1 SCAR=6.9
| |||
| 13 | 0 | $self->{client}->proxy_death($self); | |
| 14 | } | ||
| 15 | |||
| 16 | 1 | 1; | |