line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::RecordStream::Clumper::CubeKeyPerfect; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
20
|
use strict; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
81
|
|
4
|
4
|
|
|
4
|
|
15
|
use warnings; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
117
|
|
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
1350
|
use App::RecordStream::Clumper::KeyPerfect; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
86
|
|
7
|
4
|
|
|
4
|
|
22
|
use App::RecordStream::DomainLanguage::Registry; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
77
|
|
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
19
|
use base 'App::RecordStream::Clumper::KeyPerfect'; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
646
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub long_usage |
12
|
|
|
|
|
|
|
{ |
13
|
0
|
|
|
0
|
0
|
0
|
return <
|
14
|
|
|
|
|
|
|
Usage: cubekeyperfect, |
15
|
|
|
|
|
|
|
Clump records by the value for a key and additionally produce an "ALL" slice. |
16
|
|
|
|
|
|
|
EOF |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub short_usage |
20
|
|
|
|
|
|
|
{ |
21
|
0
|
|
|
0
|
0
|
0
|
return "clump records by the value for a key, additionally cubing them"; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub get_values |
25
|
|
|
|
|
|
|
{ |
26
|
30
|
|
|
30
|
0
|
38
|
my $this = shift; |
27
|
30
|
|
|
|
|
43
|
my $value = shift; |
28
|
|
|
|
|
|
|
|
29
|
30
|
|
|
|
|
65
|
return ($value, "ALL"); |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
App::RecordStream::Clumper->register_implementation('cubekeyperfect', __PACKAGE__); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
App::RecordStream::DomainLanguage::Registry::register_vfn(__PACKAGE__, 'new_from_valuation', 'cubekeyperfect', 'VALUATION'); |
35
|
|
|
|
|
|
|
App::RecordStream::DomainLanguage::Registry::register_vfn(__PACKAGE__, 'new_from_valuation', 'cubekey', 'VALUATION'); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |