File Coverage

blib/lib/App/DHCPClientUtils.pm
Criterion Covered Total %
statement 8 9 88.8
branch n/a
condition n/a
subroutine 3 6 50.0
pod 2 3 66.6
total 13 18 72.2


line stmt bran cond sub pod time code
1             package App::DHCPClientUtils;
2              
3 1     1   55533 use 5.006;
  1         4  
4 1     1   5 use strict;
  1         2  
  1         16  
5 1     1   4 use warnings;
  1         2  
  1         91  
6              
7             =head1 NAME
8              
9             App::DHCPClientUtils - Collection of utilities for working with ISC dhclient lease information
10              
11             =head1 VERSION
12              
13             Version 0.07
14              
15             =cut
16              
17             our $VERSION = '0.07';
18              
19              
20             =head1 SYNOPSIS
21              
22             Working with non-static IP-addresses can become tricky. This set of tools was written to
23             automate the IP-address handling when it changes. Typical way sysadmins approach the
24             dynamic IP-addresses is to manually configure everything, and react after it changes.
25             That is, if/when they notice the address change occurred.
26              
27             =head1 UTILITIES
28              
29             =head2 function1
30              
31             =cut
32              
33       0 1   sub function1 {
34             }
35              
36             =head2 function2
37              
38             =cut
39              
40       0 1   sub function2 {
41             }
42              
43             =head1 AUTHOR
44              
45             Jari Turkia, C<< >>
46              
47             =head1 BUGS
48              
49             Please report any bugs or feature requests to GitHub https://github.com/HQJaTu/App-DHCPClientUtils.
50             I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
51              
52              
53              
54             =head1 SUPPORT
55              
56             You can find documentation for this module with the perldoc command.
57              
58             perldoc App::DHCPClientUtils
59              
60              
61             You can also look for information at:
62              
63             =over 4
64              
65             =item * RT: CPAN's request tracker (report bugs here)
66              
67             L
68              
69             =item * AnnoCPAN: Annotated CPAN documentation
70              
71             L
72              
73             =item * CPAN Ratings
74              
75             L
76              
77             =item * Search CPAN
78              
79             L
80              
81             =back
82              
83              
84             =head1 ACKNOWLEDGEMENTS
85              
86              
87             =head1 LICENSE AND COPYRIGHT
88              
89             Copyright 2018 Jari Turkia.
90              
91             This program is free software; you can redistribute it and/or modify it
92             under the terms of the the Artistic License (2.0). You may obtain a
93             copy of the full license at:
94              
95             L
96              
97             Any use, modification, and distribution of the Standard or Modified
98             Versions is governed by this Artistic License. By using, modifying or
99             distributing the Package, you accept this license. Do not use, modify,
100             or distribute the Package, if you do not accept this license.
101              
102             If your Modified Version has been derived from a Modified Version made
103             by someone other than you, you are nevertheless required to ensure that
104             your Modified Version complies with the requirements of this license.
105              
106             This license does not grant you the right to use any trademark, service
107             mark, tradename, or logo of the Copyright Holder.
108              
109             This license includes the non-exclusive, worldwide, free-of-charge
110             patent license to make, have made, use, offer to sell, sell, import and
111             otherwise transfer the Package with respect to any patent claims
112             licensable by the Copyright Holder that are necessarily infringed by the
113             Package. If you institute patent litigation (including a cross-claim or
114             counterclaim) against any party alleging that the Package constitutes
115             direct or contributory patent infringement, then this Artistic License
116             to you shall terminate on the date that such litigation is filed.
117              
118             Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER
119             AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
120             THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
121             PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY
122             YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR
123             CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR
124             CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE,
125             EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
126              
127              
128             =cut
129              
130             sub new {
131             # There is no code in this library. This file exists only for CPAN to recognize collection of utilities.
132 0     0 0   die "oh no!";
133             }
134              
135             1; # End of App::DHCPClientUtils.