blib/lib/CLI/Numbers/Hack.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 CLI::Numbers::Hack;
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 CLI::Numbers::Hack - commands for handling a bunch of numbers for `finding denominator', `N-th min/max', `cumulative sum' and so on.
10 =head1 VERSION
11  
12 Version 0.22
13  
14 =cut
15  
16 1 our $VERSION = '0.22';
17  
18  
19 =head1 SYNOPSIS
20  
21 PROVIDED COMMAND LINE INTERFACE programs :
22
23 1. nums -- an expansion of the Unix/Linux command `seq'.
24 2. cumsum -- shows the cumulative sum for a sequence of numbers separated by line ends.
25 3. minmax -- shows the N-th minimums and N-th maximums of a number sequence.
26 4. denomfind -- helps to find the common denominator from bunch of decimals. Useful to find N of a questionnaire results.
27 4. rounding -- outputs the rounded numbers. (The name of this command would change in the future.. )
28 5. zeropad -- outputs the zero-padded numbers.
29 6. meanvar -- shows the mean (average) and the variance of a sequence of numbers.
30 7. quantile -- shows the quantile values.
31  
32 All programs provides help-manual that is availble such as by "cumsum --help".
33 If you want to see only "switch options", do "cumsum --help opt(ions)".
34 Sorry the most part of the manual is written only in Japanese.
35  
36 Some commands are immature in user interface (such as `denomfind') (the the version number is low)
37 but the author just want to provide these commands above for some good usage.
38  
39  
40 =head1 LICENSE AND COPYRIGHT
41  
42 Copyright 2018 "Toshiyuki Shimono".
43  
44 This program is free software: you can redistribute it and/or modify
45 it under the terms of the GNU General Public License as published by
46 the Free Software Foundation, either version 3 of the License, or
47 (at your option) any later version.
48  
49 This program is distributed in the hope that it will be useful,
50 but WITHOUT ANY WARRANTY; without even the implied warranty of
51 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
52 GNU General Public License for more details.
53  
54 You should have received a copy of the GNU General Public License
55 along with this program. If not, see L<http://www.gnu.org/licenses/>.
56  
57  
58 =cut
59  
60 1 1; # End of CLI::Numbers::Hack
↑ Summary