line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::RecordStream::Clumper::CubeKeyPerfect; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
29
|
use strict; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
114
|
|
4
|
4
|
|
|
4
|
|
23
|
use warnings; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
109
|
|
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
1181
|
use App::RecordStream::Clumper::KeyPerfect; |
|
4
|
|
|
|
|
16
|
|
|
4
|
|
|
|
|
125
|
|
7
|
4
|
|
|
4
|
|
28
|
use App::RecordStream::DomainLanguage::Registry; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
87
|
|
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
21
|
use base 'App::RecordStream::Clumper::KeyPerfect'; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
660
|
|
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
|
71
|
my $this = shift; |
27
|
30
|
|
|
|
|
61
|
my $value = shift; |
28
|
|
|
|
|
|
|
|
29
|
30
|
|
|
|
|
136
|
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; |