line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package App::docsisicious; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
App::docsisicious - Edit DOCSIS config files |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 VERSION |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
0.01 |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 DESCRIPTION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
L is a L web application for editing |
14
|
|
|
|
|
|
|
DOCSIS config files. |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 SYNOPSIS |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
# Step 1: |
19
|
|
|
|
|
|
|
$ docsisicious --listen http://*:8000 |
20
|
|
|
|
|
|
|
# Step 2: |
21
|
|
|
|
|
|
|
$ open http://localhost:8000 |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=cut |
24
|
|
|
|
|
|
|
|
25
|
1
|
|
|
1
|
|
6
|
use Mojo::Base -base; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
26
|
1
|
|
|
1
|
|
179
|
use File::Spec::Functions 'catdir'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
45
|
|
27
|
1
|
|
|
1
|
|
5
|
use File::Basename 'dirname'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
62
|
|
28
|
1
|
|
|
1
|
|
5
|
use constant HOME => catdir dirname(__FILE__), 'docsisicious'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
134
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head2 Icons |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=over 4 |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=item * L |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item * L |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=item * L |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item * L |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=item * L |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=back |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 Code |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Copyright (C) 2014, Jan Henning Thorsen |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
This program is free software, you can redistribute it and/or modify it under |
55
|
|
|
|
|
|
|
the terms of the Artistic License version 2.0. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 AUTHOR |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Jan Henning Thorsen - C |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
1; |