line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::String::chomp; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2203'; |
3
|
|
|
|
|
|
|
|
4
|
2
|
|
|
2
|
|
1238
|
use strict; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
67
|
|
5
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
62
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
11
|
use Moose::Role; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
17
|
|
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
|
|
15
|
my $self = shift; |
15
|
7
|
|
|
|
|
16
|
my ($slot_access) = @_; |
16
|
|
|
|
|
|
|
|
17
|
7
|
|
|
|
|
35
|
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
|
|
7
|
my $self = shift; |
26
|
3
|
|
|
|
|
8
|
my ($inv, $new, $slot_access) = @_; |
27
|
|
|
|
|
|
|
|
28
|
3
|
|
|
|
|
16
|
return '@return = chomp ' . $slot_access . ';'; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub _return_value { |
32
|
14
|
|
|
14
|
|
25
|
my $self = shift; |
33
|
14
|
|
|
|
|
31
|
my ($slot_access) = @_; |
34
|
|
|
|
|
|
|
|
35
|
14
|
|
|
|
|
47
|
return '$return[0]'; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
2
|
|
|
2
|
|
17
|
no Moose::Role; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
11
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |