blib/lib/Kollos.pm

filter: Statementstmt 71.4% 5 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 100% 1 / 1 totaltotal 70.0% 7 / 10 CC 1 SCAR 4.1
CC
1
Cov
71%
run
2.0
BEGIN
1.0
CRAP 1.5
↑ Summary
1 package Kollos;
2  
3 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 our $VERSION = '0.01';
6  
7 # ------------------------------------------------
8  
9 sub run
10 0 ▶{
Subroutine run: not called CC=1 SCAR=6.9
Pod documented
11 0 my($self) = @_;
12  
13 # Return 0 for success and 1 for failure.
14  
15 0 return 0;
16  
17 } # End of run.
18  
19 # ------------------------------------------------
20  
21 1 1;
22  
23 =pod
24  
25 =head1 NAME
26  
27 C<Kollos> - A placeholder for the Kollos::* hierarchy
28  
29 =head1 Synopsis
30  
31 perl -e -MKollos 'use Kollos; my($k) = Kollos -> new; $k -> run'
32  
33 =head1 Description
34  
35 C<Kollos> pplaceholder for the Kollos::* hierarchy.
36  
37 =head1 Distributions
38  
39 This module is available as a Unix-style distro (*.tgz).
40  
41 See L<http://savage.net.au/Perl-modules/html/installing-a-module.html>
42 for help on unpacking and installing distros.
43  
44 =head1 Installation
45  
46 Install L<Kollos> as you would for any C<Perl> module:
47  
48 Run:
49  
50 cpanm Kollos
51  
52 or run:
53  
54 sudo cpan Kollos
55  
56 or unpack the distro, and then:
57  
58 perl Makefile.PL
59 make (or dmake or nmake)
60 make test
61 make install
62  
63 =head1 Constructor and Initialization
64  
65 C<new()> is called as C<< my($k) = Kollos -> new.
66  
67 It returns a new object of type C<Kollos>.
68  
69 C<new()> does not accept any parameters.
70  
71 =head1 Methods
72  
73 =head2 run()
74  
75 Does nothing but return 0.
76  
77 =head1 Machine-Readable Change Log
78  
79 The file Changes was converted into Changelog.ini by L<Module::Metadata::Changes>.
80  
81 =head1 Version Numbers
82  
83 Version numbers < 1.00 represent development versions. From 1.00 up, they are production versions.
84  
85 =head1 Repository
86  
87 L<https://github.com/ronsavage/Kollos>
88  
89 =head1 Support
90  
91 Email the author, or log a bug on RT:
92  
93 L<https://rt.cpan.org/Public/Dist/Display.html?Name=Kollos>.
94  
95 =head1 Author
96  
97 L<Kollos> was written by Ron Savage I<E<lt>ron@savage.net.auE<gt>> in 2017.
98  
99 My homepage: L<http://savage.net.au/>
100  
101 =head1 Copyright
102  
103 Australian copyright (c) 2017, Ron Savage.
104  
105 All Programs of mine are 'OSI Certified Open Source Software';
106 you can redistribute them and/or modify them under the terms of
107 The Perl License, a copy of which is available at:
108 http://dev.perl.org/licenses/
109  
110 =cut
↑ Summary