line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Collection Data Type Role for Perl 5 |
2
|
|
|
|
|
|
|
package Data::Object::Role::Collection; |
3
|
|
|
|
|
|
|
|
4
|
115
|
|
|
115
|
|
126363
|
use 5.010; |
|
115
|
|
|
|
|
359
|
|
5
|
115
|
|
|
115
|
|
554
|
use Data::Object::Role; |
|
115
|
|
|
|
|
208
|
|
|
115
|
|
|
|
|
722
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.42'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
requires 'defined'; |
10
|
|
|
|
|
|
|
requires 'each'; |
11
|
|
|
|
|
|
|
requires 'each_key'; |
12
|
|
|
|
|
|
|
requires 'each_n_values'; |
13
|
|
|
|
|
|
|
requires 'each_value'; |
14
|
|
|
|
|
|
|
requires 'exists'; |
15
|
|
|
|
|
|
|
requires 'iterator'; |
16
|
|
|
|
|
|
|
requires 'list'; |
17
|
|
|
|
|
|
|
requires 'keys'; |
18
|
|
|
|
|
|
|
requires 'get'; |
19
|
|
|
|
|
|
|
requires 'set'; |
20
|
|
|
|
|
|
|
requires 'values'; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |