line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::DDFlare; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
18761
|
use v5.10; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
50
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
41
|
|
5
|
1
|
|
|
1
|
|
6
|
use warnings FATAL => 'all'; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
66
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
App::DDFlare - Dynamic DNS client for CloudFlare |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Version 0.08 |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = '0.08'; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 SYNOPSIS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Provides ddflare, a command line Dynamic DNS utility that updates with |
23
|
|
|
|
|
|
|
the latest IP every 5 minutes. After installing the module you should |
24
|
|
|
|
|
|
|
set up a start up service using your OS's favourite mechanism. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 AUTHOR |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Peter Roberts, C<< >> |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 BUGS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Please report any bugs or feature requests to C, or through |
33
|
|
|
|
|
|
|
the web interface at L. |
34
|
|
|
|
|
|
|
I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 SUPPORT |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
perldoc App::DDFlare |
41
|
|
|
|
|
|
|
perldoc ddflare |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
You can also look for information at: |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=over 4 |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=item * DDFlare |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
L |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker (report bugs here) |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
L |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
L |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item * CPAN Ratings |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
L |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * Search CPAN |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
L |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=back |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
Copyright 2014 Peter Roberts. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
This program is distributed under the MIT (X11) License: |
74
|
|
|
|
|
|
|
L |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person |
77
|
|
|
|
|
|
|
obtaining a copy of this software and associated documentation |
78
|
|
|
|
|
|
|
files (the "Software"), to deal in the Software without |
79
|
|
|
|
|
|
|
restriction, including without limitation the rights to use, |
80
|
|
|
|
|
|
|
copy, modify, merge, publish, distribute, sublicense, and/or sell |
81
|
|
|
|
|
|
|
copies of the Software, and to permit persons to whom the |
82
|
|
|
|
|
|
|
Software is furnished to do so, subject to the following |
83
|
|
|
|
|
|
|
conditions: |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be |
86
|
|
|
|
|
|
|
included in all copies or substantial portions of the Software. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
89
|
|
|
|
|
|
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
90
|
|
|
|
|
|
|
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
91
|
|
|
|
|
|
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
92
|
|
|
|
|
|
|
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
93
|
|
|
|
|
|
|
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
94
|
|
|
|
|
|
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
95
|
|
|
|
|
|
|
OTHER DEALINGS IN THE SOFTWARE. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=cut |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
1; # End of App::DDFlare |