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