line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package TableData::Munge::Filter; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
72530
|
use 5.010001; |
|
1
|
|
|
|
|
15
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
19
|
|
5
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
474
|
use Role::Tiny::With; |
|
1
|
|
|
|
|
5275
|
|
|
1
|
|
|
|
|
147
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY |
10
|
|
|
|
|
|
|
our $DATE = '2023-02-24'; # DATE |
11
|
|
|
|
|
|
|
our $DIST = 'TableDataRoles-Standard'; # DIST |
12
|
|
|
|
|
|
|
our $VERSION = '0.015'; # VERSION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
with 'TableDataRole::Munge::Filter'; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
our %SPEC; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
$SPEC{new} = { |
19
|
|
|
|
|
|
|
v => 1.1, |
20
|
|
|
|
|
|
|
is_meth => 1, |
21
|
|
|
|
|
|
|
is_func => 0, |
22
|
|
|
|
|
|
|
args => { |
23
|
|
|
|
|
|
|
tabledata => { |
24
|
|
|
|
|
|
|
schema => 'any*', # TMP |
25
|
|
|
|
|
|
|
req => 1, |
26
|
|
|
|
|
|
|
}, |
27
|
|
|
|
|
|
|
filter => { |
28
|
|
|
|
|
|
|
schema => ['any*', of=>['str*', 'code*']], |
29
|
|
|
|
|
|
|
}, |
30
|
|
|
|
|
|
|
filter_hashref => { |
31
|
|
|
|
|
|
|
schema => ['any*', of=>['str*', 'code*']], |
32
|
|
|
|
|
|
|
}, |
33
|
|
|
|
|
|
|
}, |
34
|
|
|
|
|
|
|
args_rels => { |
35
|
|
|
|
|
|
|
req_one => [qw/filter filter_hashref/], |
36
|
|
|
|
|
|
|
}, |
37
|
|
|
|
|
|
|
}; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
1; |
40
|
|
|
|
|
|
|
# ABSTRACT: Filter rows of another tabledata |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
__END__ |