lib/App/docsisious.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« script/docsisious ↑ Summary
1 package App::docsisious;
2 1 ▶use Mojo::Base -base;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 1 ▶use File::Spec::Functions 'catdir';
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use File::Basename 'dirname';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use constant HOME => catdir dirname(__FILE__), 'docsisious';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 our $VERSION = '0.10';
9  
10 1 1;
11  
12 =encoding utf8
13  
14 =head1 NAME
15  
16 App::docsisious - Edit DOCSIS config files on web
17  
18 =head1 VERSION
19  
20 0.10
21  
22 =head1 DESCRIPTION
23  
24 L<App::docsisious> is a L<Mojolicious> web application for editing
25 DOCSIS config files.
26  
27 Try out L<http://home.thorsen.pm/docsisious> for a demo.
28  
29 =head1 INSTALLATION
30  
31 $ curl -L https://cpanmin.us | perl - -M https://cpan.metacpan.org App::docsisious
32  
33 You also need L<SNMP.pm|SNMP> to be able to write "human readable" OIDs.
34 The standard behavior is to decode all OIDs as numeric.
35  
36 $ sudo apt-get install libsnmp-perl
37  
38 If you are using a custom perl build, you have to get L<SNMP.pm|http://www.net-snmp.org/download.html>
39 manually.
40  
41 =head1 SYNOPSIS
42  
43 # Step 1:
44 $ docsisious --listen http://*:8000
45 # Step 2:
46 $ open http://localhost:8000
47  
48 =head1 COPYRIGHT AND LICENSE
49  
50 =head2 Icons
51  
52 =over 4
53  
54 =item * L<Daniel Bruce|http://www.flaticon.com/free-icon/question-mark_3711>
55  
56 =item * L<Dave Gandy|http://www.flaticon.com/free-icon/fullscreen-arrows-symbol_25183>
57  
58 =item * L<Egor Rumyantsev|http://www.flaticon.com/free-icon/settings-work-tool_70367">
59  
60 =item * L<Freepik|http://www.flaticon.com/free-icon/save-icon_64052>
61  
62 =item * L<Google|http://www.flaticon.com/free-icon/download-button_60721>
63  
64 =back
65  
66 =head2 Code
67  
68 Copyright (C) 2014, Jan Henning Thorsen
69  
70 This program is free software, you can redistribute it and/or modify it under
71 the terms of the Artistic License version 2.0.
72  
73 =head1 AUTHOR
74  
75 Jan Henning Thorsen - C<jhthorsen@cpan.org>
76  
77 =cut
« script/docsisious ↑ Summary