line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::String::chomp; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2205'; |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
1311
|
use strict; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
119
|
|
5
|
2
|
|
|
2
|
|
13
|
use warnings; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
56
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
10
|
use Moose::Role; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
38
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Moose::Meta::Method::Accessor::Native::Writer'; |
10
|
|
|
|
|
|
|
|
11
|
7
|
|
|
7
|
|
22
|
sub _maximum_arguments { 0 } |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub _potential_value { |
14
|
7
|
|
|
7
|
|
22
|
my $self = shift; |
15
|
7
|
|
|
|
|
20
|
my ($slot_access) = @_; |
16
|
|
|
|
|
|
|
|
17
|
7
|
|
|
|
|
40
|
return '(do { ' |
18
|
|
|
|
|
|
|
. 'my $val = ' . $slot_access . '; ' |
19
|
|
|
|
|
|
|
. '@return = chomp $val; ' |
20
|
|
|
|
|
|
|
. '$val ' |
21
|
|
|
|
|
|
|
. '})'; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub _inline_optimized_set_new_value { |
25
|
3
|
|
|
3
|
|
9
|
my $self = shift; |
26
|
3
|
|
|
|
|
13
|
my ($inv, $new, $slot_access) = @_; |
27
|
|
|
|
|
|
|
|
28
|
3
|
|
|
|
|
18
|
return '@return = chomp ' . $slot_access . ';'; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub _return_value { |
32
|
14
|
|
|
14
|
|
58
|
my $self = shift; |
33
|
14
|
|
|
|
|
35
|
my ($slot_access) = @_; |
34
|
|
|
|
|
|
|
|
35
|
14
|
|
|
|
|
58
|
return '$return[0]'; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
2
|
|
|
2
|
|
19
|
no Moose::Role; |
|
2
|
|
|
|
|
18
|
|
|
2
|
|
|
|
|
23
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |