line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Meta::Method::Accessor::Native::Hash::get; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2206'; |
3
|
|
|
|
|
|
|
|
4
|
5
|
|
|
5
|
|
3111
|
use strict; |
|
5
|
|
|
|
|
16
|
|
|
5
|
|
|
|
|
160
|
|
5
|
5
|
|
|
5
|
|
28
|
use warnings; |
|
5
|
|
|
|
|
16
|
|
|
5
|
|
|
|
|
137
|
|
6
|
|
|
|
|
|
|
|
7
|
5
|
|
|
5
|
|
27
|
use Moose::Role; |
|
5
|
|
|
|
|
10
|
|
|
5
|
|
|
|
|
37
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Moose::Meta::Method::Accessor::Native::Reader', |
10
|
|
|
|
|
|
|
'Moose::Meta::Method::Accessor::Native::Hash'; |
11
|
|
|
|
|
|
|
|
12
|
14
|
|
|
14
|
|
47
|
sub _minimum_arguments { 1 } |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub _inline_check_arguments { |
15
|
14
|
|
|
14
|
|
36
|
my $self = shift; |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
return ( |
18
|
14
|
|
|
|
|
74
|
'for (@_) {', |
19
|
|
|
|
|
|
|
$self->_inline_check_var_is_valid_key('$_'), |
20
|
|
|
|
|
|
|
'}', |
21
|
|
|
|
|
|
|
); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub _return_value { |
25
|
14
|
|
|
14
|
|
36
|
my $self = shift; |
26
|
14
|
|
|
|
|
43
|
my ($slot_access) = @_; |
27
|
|
|
|
|
|
|
|
28
|
14
|
|
|
|
|
148
|
return '@_ > 1 ' |
29
|
|
|
|
|
|
|
. '? @{ (' . $slot_access . ') }{@_} ' |
30
|
|
|
|
|
|
|
. ': ' . $slot_access . '->{$_[0]}'; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
5
|
|
|
5
|
|
42
|
no Moose::Role; |
|
5
|
|
|
|
|
14
|
|
|
5
|
|
|
|
|
30
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
1; |