line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package cli::numbers::util; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
53584
|
use 5.006; |
|
1
|
|
|
|
|
3
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
15
|
|
5
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
43
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
cli::numbers::util - Handling number stream input |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
cumsum |
12
|
|
|
|
|
|
|
rounding |
13
|
|
|
|
|
|
|
zeropad |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 VERSION |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Version 0.31 |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=cut |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
our $VERSION = '0.31'; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 AUTHOR |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
"Toshiyuki Shimono", C<< >> |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 BUGS |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Please report any bugs or feature requests to C, or through |
31
|
|
|
|
|
|
|
the web interface at L. I will be notified, and then you'll |
32
|
|
|
|
|
|
|
automatically be notified of progress on your bug as I make changes. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Copyright 2018 "Toshiyuki Shimono". |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify |
40
|
|
|
|
|
|
|
it under the terms of the GNU General Public License as published by |
41
|
|
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or |
42
|
|
|
|
|
|
|
(at your option) any later version. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful, |
45
|
|
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
46
|
|
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
47
|
|
|
|
|
|
|
GNU General Public License for more details. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License |
50
|
|
|
|
|
|
|
along with this program. If not, see L. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=cut |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
1; # End of cli::numbers::util |