| 1 | package IO::All::IO; | ||||||||||
| 2 | 3 | ▶ | use IO::All::Base; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | 0 | ▶ | has upgrade_methods => ( default => sub { [] } ); | ||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=1.2
| |||||||||||
| 5 | |||||||||||
| 6 | 4 | ▶ | sub upgrade { | ||||||||
|
Subroutine
upgrade: called CC=4 SCAR=13.9
Pod
undocumented
| |||||||||||
| 7 | 4 | my ($self) = @_; | |||||||||
| 8 | 4 | for my $key (keys %$self) { | |||||||||
| 9 | 10 | ▶ | next if $key =~ /^_/; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 10 | 8 | ▶ | delete $self->{$key} | ||||||||
|
Branch: 1 branch
| |||||||||||
| 11 | unless $self->can($key); | ||||||||||
| 12 | } | ||||||||||
| 13 | } | ||||||||||
| 14 | |||||||||||
| 15 | 3 | 1; | |||||||||