line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
11
|
|
|
11
|
|
2826
|
use strict; |
|
11
|
|
|
|
|
21
|
|
|
11
|
|
|
|
|
256
|
|
2
|
11
|
|
|
11
|
|
44
|
use warnings; |
|
11
|
|
|
|
|
35
|
|
|
11
|
|
|
|
|
401
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Footprintless::MixableBase; |
5
|
|
|
|
|
|
|
$Footprintless::MixableBase::VERSION = '1.26'; |
6
|
|
|
|
|
|
|
# ABSTRACT: A base class for using mixins |
7
|
|
|
|
|
|
|
# PODNAME: Footprintless::MixableBase |
8
|
|
|
|
|
|
|
|
9
|
11
|
|
|
11
|
|
276
|
use Log::Any; |
|
11
|
|
|
|
|
5799
|
|
|
11
|
|
|
|
|
86
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
my $logger = Log::Any->get_logger(); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub new { |
14
|
61
|
|
|
61
|
0
|
218
|
my ( $class, $factory, $coordinate, @options ) = @_; |
15
|
61
|
|
|
|
|
325
|
$logger->tracef( "%s coordinate=[%s]\noptions=[%s]", $class, $coordinate, \@options ); |
16
|
61
|
|
|
|
|
1067
|
my $self = bless( |
17
|
|
|
|
|
|
|
{ factory => $factory, |
18
|
|
|
|
|
|
|
coordinate => $coordinate |
19
|
|
|
|
|
|
|
}, |
20
|
|
|
|
|
|
|
$class |
21
|
|
|
|
|
|
|
); |
22
|
|
|
|
|
|
|
|
23
|
61
|
|
|
|
|
275
|
return $self->_init(@options); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub _init { |
27
|
18
|
|
|
18
|
|
72
|
return $_[0]; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
__END__ |