| 1 | package Object::Remote::GlobContainer; | ||||||||||||||
| 2 | 11 | ▶ | use Moo; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 3 | 11 | ▶ | use FileHandle; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 4 | |||||||||||||||
| 5 | 11 | has _handle => (is => 'ro', required => 1, init_arg => 'handle'); | |||||||||||||
| 6 | |||||||||||||||
| 7 | 1 | ▶ | sub AUTOLOAD { | ||||||||||||
|
Subroutine
AUTOLOAD: called CC=2 SCAR=10.3
| |||||||||||||||
| 8 | 0 | ▶ | my ($self, @args) = @_; | ||||||||||||
|
Subroutine
AUTOLOAD: not called CC=2 SCAR=10.3
| |||||||||||||||
| 9 | 0 | (my $method) = our $AUTOLOAD =~ m{::([^:]+)$}; | |||||||||||||
| 10 | 0 | ▶ | return if $method eq 'DESTROY'; | ||||||||||||
|
Branch: 2 branches
| |||||||||||||||
| 11 | 0 | return $self->_handle->$method(@args); | |||||||||||||
| 12 | } | ||||||||||||||
| 13 | |||||||||||||||
| 14 | 11 | 1; | |||||||||||||