File Coverage

blib/lib/Moonshine/Parser.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Moonshine::Parser;
2              
3 1     1   12908 use strict;
  1         1  
  1         24  
4 1     1   3 use warnings;
  1         1  
  1         25  
5              
6 1     1   3 use base qw/Moonshine::Parser::HTML/;
  1         4  
  1         343  
7              
8 1     1   6 use Moonshine::Element;
  1         1  
  1         41  
9              
10             =head1 NAME
11              
12             Moonshine::Parser - Parsed
13              
14             =head1 VERSION
15              
16             Version 0.05
17              
18             =cut
19              
20             our $VERSION = '0.05';
21              
22             =head1 SYNOPSIS
23              
24             use Moonshine::Parser;
25              
26             my $parser = Moonshine::Parser->new();
27             my $moonshine_element = $parser->parse($html);
28              
29             =head1 AUTHOR
30              
31             Robert Acock, C<< >>
32              
33             =head1 BUGS
34              
35             Please report any bugs or feature requests to C, or through
36             the web interface at L. I will be notified, and then you'll
37             automatically be notified of progress on your bug as I make changes.
38              
39             =head1 SUPPORT
40              
41             You can find documentation for this module with the perldoc command.
42              
43             perldoc Moonshine::Parser
44              
45             You can also look for information at:
46              
47             =over 4
48              
49             =item * RT: CPAN's request tracker (report bugs here)
50              
51             L
52              
53             =item * AnnoCPAN: Annotated CPAN documentation
54              
55             L
56              
57             =item * CPAN Ratings
58              
59             L
60              
61             =item * Search CPAN
62              
63             L
64              
65             =back
66              
67             =head1 ACKNOWLEDGEMENTS
68              
69             =head1 LICENSE AND COPYRIGHT
70              
71             Copyright 2017 Robert Acock.
72              
73             This program is free software; you can redistribute it and/or modify it
74             under the terms of the the Artistic License (2.0). You may obtain a
75             copy of the full license at:
76              
77             L
78              
79             Any use, modification, and distribution of the Standard or Modified
80             Versions is governed by this Artistic License. By using, modifying or
81             distributing the Package, you accept this license. Do not use, modify,
82             or distribute the Package, if you do not accept this license.
83              
84             If your Modified Version has been derived from a Modified Version made
85             by someone other than you, you are nevertheless required to ensure that
86             your Modified Version complies with the requirements of this license.
87              
88             This license does not grant you the right to use any trademark, service
89             mark, tradename, or logo of the Copyright Holder.
90              
91             This license includes the non-exclusive, worldwide, free-of-charge
92             patent license to make, have made, use, offer to sell, sell, import and
93             otherwise transfer the Package with respect to any patent claims
94             licensable by the Copyright Holder that are necessarily infringed by the
95             Package. If you institute patent litigation (including a cross-claim or
96             counterclaim) against any party alleging that the Package constitutes
97             direct or contributory patent infringement, then this Artistic License
98             to you shall terminate on the date that such litigation is filed.
99              
100             Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER
101             AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
102             THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
103             PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY
104             YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR
105             CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR
106             CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE,
107             EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
108              
109             =cut
110              
111             1; # End of Moonshine::Parser