File Coverage

blib/lib/App/keycommon.pm
Criterion Covered Total %
statement 8 8 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 11 100.0


line stmt bran cond sub pod time code
1             package App::keycommon;
2              
3 1     1   55229 use 5.006;
  1         5  
4 1     1   6 use strict;
  1         2  
  1         23  
5 1     1   5 use warnings;
  1         3  
  1         64  
6              
7             =head1 NAME
8              
9             App::keycommon - You can combine multiple TSV (also machine-readable CSV) files which share a common key column.
10              
11             =head1 VERSION
12              
13             Version 0.0012
14              
15             =cut
16              
17             our $VERSION = '0.0012';
18              
19              
20             =head1 SYNOPSIS
21              
22             See the help manual that can be invoked by 'keycommon --help' (only Japanese manual is available, sorry!).
23             You can use the command as follows :
24              
25             keycommon file1.tsv file2.tsv .. fileN.tsv
26            
27             keycommon -f 2 file1.tsv file2.tsv .. fileN.tsv # If the "key column" is the combination of 1st and 2nd columns.
28             keycommon -0 "nodata" file1.tsv file2.tsv # you can specify what to be filled to the empty cell.
29             keycommon -/ "," file1 file2 file3 # You can specify the column separator. Partially CSV can be handled (not fully).
30              
31             keycommon -n file1 file2 file3 # The output is sorted according to the key regarded as "number".
32             keycommon -r file1 file2 file3 # The output is sorted according to the key order, but in the reverse manner.
33              
34             =head1 AUTHOR
35              
36             "Toshiyuki Shimono", C<< >>
37              
38             =head1 BUGS
39              
40             Please report any bugs or feature requests to C, or through
41             the web interface at L. I will be notified, and then you'll
42             automatically be notified of progress on your bug as I make changes.
43              
44              
45             =head1 SUPPORT
46              
47             You can find documentation for this module with the perldoc command.
48              
49             perldoc App::keycommon
50              
51             You can also look for information at:
52              
53             =over 4
54              
55             =item * RT: CPAN's request tracker (report bugs here)
56              
57             L
58              
59             =item * AnnoCPAN: Annotated CPAN documentation
60              
61             L
62              
63             =item * CPAN Ratings
64              
65             L
66              
67             =item * Search CPAN
68              
69             L
70              
71             =back
72              
73              
74             =head1 ACKNOWLEDGEMENTS
75              
76              
77             =head1 LICENSE AND COPYRIGHT
78              
79             Copyright 2018 "Toshiyuki Shimono".
80              
81             This program is free software: you can redistribute it and/or modify
82             it under the terms of the GNU General Public License as published by
83             the Free Software Foundation, either version 3 of the License, or
84             (at your option) any later version.
85              
86             This program is distributed in the hope that it will be useful,
87             but WITHOUT ANY WARRANTY; without even the implied warranty of
88             MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
89             GNU General Public License for more details.
90              
91             You should have received a copy of the GNU General Public License
92             along with this program. If not, see L.
93              
94              
95             =cut
96              
97             1; # End of App::keycommon