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