blib/lib/App/keycommon.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package App::keycommon;
2  
3 1 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
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 1 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<< <bin4tsv at gmail.com> >>
37  
38 =head1 BUGS
39  
40 Please report any bugs or feature requests to C<bug-app-keycommon at rt.cpan.org>, or through
41 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-keycommon>. 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<http://rt.cpan.org/NoAuth/Bugs.html?Dist=App-keycommon>
58  
59 =item * AnnoCPAN: Annotated CPAN documentation
60  
61 L<http://annocpan.org/dist/App-keycommon>
62  
63 =item * CPAN Ratings
64  
65 L<http://cpanratings.perl.org/d/App-keycommon>
66  
67 =item * Search CPAN
68  
69 L<http://search.cpan.org/dist/App-keycommon/>
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<http://www.gnu.org/licenses/>.
93  
94  
95 =cut
96  
97 1 1; # End of App::keycommon
↑ Summary