| 1 | package Mouse::Meta::Role::Method; | ||||||||||
| 2 | 108 | ▶ | use Mouse::Util; # enables strict and warnings | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | 108 | ▶ | use Mouse::Meta::Method; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 108 | our @ISA = qw(Mouse::Meta::Method); | |||||||||
| 6 | |||||||||||
| 7 | 8 | ▶ | sub _new{ | ||||||||
|
Subroutine
_new: called CC=2 SCAR=7.4
| |||||||||||
| 8 | 8 | my($class, %args) = @_; | |||||||||
| 9 | 8 | my $self = bless \%args, $class; | |||||||||
| 10 | |||||||||||
| 11 | 8 | ▶ | if($class ne __PACKAGE__){ | ||||||||
|
Branch: 1 branch
| |||||||||||
| 12 | 0 | $self->meta->_initialize_object($self, \%args); | |||||||||
| 13 | } | ||||||||||
| 14 | 8 | return $self; | |||||||||
| 15 | } | ||||||||||
| 16 | |||||||||||
| 17 | 108 | 1; | |||||||||
| 18 | __END__ | ||||||||||