line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Enbld::Target::Attribute::Prefix; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
3570
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
52
|
|
4
|
2
|
|
|
2
|
|
6
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
53
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
7
|
use Carp; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
91
|
|
7
|
|
|
|
|
|
|
|
8
|
2
|
|
|
2
|
|
395
|
use parent qw/Enbld::Target::AttributeExtension::Word/; |
|
2
|
|
|
|
|
209
|
|
|
2
|
|
|
|
|
8
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub initialize { |
11
|
53
|
|
|
53
|
0
|
129
|
my ( $self, $param ) = @_; |
12
|
|
|
|
|
|
|
|
13
|
53
|
100
|
|
|
|
137
|
if ( ! defined $param ) { |
14
|
47
|
|
|
|
|
100
|
$self->{value} = '--prefix='; |
15
|
47
|
|
|
|
|
88
|
$self->{is_evaluated}++; |
16
|
|
|
|
|
|
|
|
17
|
47
|
|
|
|
|
91
|
return $self; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
6
|
100
|
|
|
|
10
|
if ( $param ) { |
21
|
5
|
|
|
|
|
13
|
$self->SUPER::initialize( $param ); |
22
|
5
|
|
|
|
|
6
|
return $self; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
1
|
|
|
|
|
323
|
require Enbld::Exception; |
26
|
1
|
|
|
|
|
3
|
croak( Enbld::Exception->new( "Attribute 'Prefix' isn't defined" ) ); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |