line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=head1 NAME |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
Apache2::Pod::PodSimpleHTML - Pod::Simple::HTML subclass for Apache2::Pod::HTML |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 VERSION |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
The version is sucked in from whatever |
8
|
|
|
|
|
|
|
L version is installed. |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=head1 SYNOPSIS |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Used by L. |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
I don't understand what this is for or why we use it, |
15
|
|
|
|
|
|
|
but I'm cleaning up errors because the old name is |
16
|
|
|
|
|
|
|
already indexed by someone else on CPAN. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 METHODS |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head2 resolve_pod_page_link |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
We override this to return the link using URI::Escape. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 SEE ALSO |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
L |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
L |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 AUTHOR |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Theron Lewis C<< >> |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Mark Hedges C<< >> |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 LICENSE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
This package is licensed under the same terms as Perl itself. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=cut |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
package Apache2::Pod::PodSimpleHTML; |
43
|
|
|
|
|
|
|
|
44
|
1
|
|
|
1
|
|
1512
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
45
|
1
|
|
|
1
|
|
5
|
use warnings FATAL => 'all'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
56
|
|
46
|
1
|
|
|
1
|
|
6
|
use base qw( Pod::Simple::HTML ); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
1047
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
*VERSION = *Pod::Simple::HTML::VERSION; |
49
|
|
|
|
|
|
|
|
50
|
1
|
|
|
1
|
|
96301
|
use URI::Escape; |
|
1
|
|
|
|
|
1574
|
|
|
1
|
|
|
|
|
284
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
sub resolve_pod_page_link { |
54
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
55
|
0
|
|
|
|
|
|
my $to = shift; |
56
|
0
|
|
|
|
|
|
my $section = shift; |
57
|
|
|
|
|
|
|
|
58
|
0
|
|
|
|
|
|
my $link = $to; |
59
|
|
|
|
|
|
|
|
60
|
0
|
|
|
|
|
|
return uri_escape( $link ); |
61
|
|
|
|
|
|
|
} |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
1; |