line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package cli::tsv::keyvalue; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
59455
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
15
|
|
5
|
1
|
|
|
1
|
|
3
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
47
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
cli-tsv-keyvalue - Utilites to handle KeyValue relationships are provided. |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Follwoing commands (CLI) are available by installing this module |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1. crosstable -- providing 2 way contingency table like Excel pivot. |
15
|
|
|
|
|
|
|
2. coltr -- An expansion of Unix/Linux join command. |
16
|
|
|
|
|
|
|
3. keyvalues -- How many different values each key has. |
17
|
|
|
|
|
|
|
4. kvcmp -- Compare the Key-Value relation when 2 Key-Value files are given. |
18
|
|
|
|
|
|
|
5. polar -- gather multiple files along the common key column. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
The detail of each command can be seen by "--help" option after the command, |
22
|
|
|
|
|
|
|
and at this moment only Japanese manual is available. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
cli::tsv::keyvalue - The great new cli::tsv::keyvalue! |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 VERSION |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Version 0.31 |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=cut |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
our $VERSION = '0.31'; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Copyright 2018 "Toshiyuki Shimono". |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify |
41
|
|
|
|
|
|
|
it under the terms of the GNU General Public License as published by |
42
|
|
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or |
43
|
|
|
|
|
|
|
(at your option) any later version. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful, |
46
|
|
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
47
|
|
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
48
|
|
|
|
|
|
|
GNU General Public License for more details. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License |
51
|
|
|
|
|
|
|
along with this program. If not, see L. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=cut |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
1; # End of cli::tsv::keyvalue |