| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# |
|
2
|
|
|
|
|
|
|
#=============================================================================== |
|
3
|
|
|
|
|
|
|
# |
|
4
|
|
|
|
|
|
|
# FILE: Data.pm |
|
5
|
|
|
|
|
|
|
# |
|
6
|
|
|
|
|
|
|
# DESCRIPTION: Data definitions |
|
7
|
|
|
|
|
|
|
# |
|
8
|
|
|
|
|
|
|
# FILES: --- |
|
9
|
|
|
|
|
|
|
# BUGS: --- |
|
10
|
|
|
|
|
|
|
# NOTES: --- The intent of this module is to localize some of the HTML |
|
11
|
|
|
|
|
|
|
# generation so as to make it accessible to the test suite. |
|
12
|
|
|
|
|
|
|
# AUTHOR: Geoffrey Leach, |
|
13
|
|
|
|
|
|
|
# VERSION: 1.1.11 |
|
14
|
|
|
|
|
|
|
# CREATED: 10/17/07 15:14:33 PDT |
|
15
|
|
|
|
|
|
|
# UPDATED: Wed Jan 20 05:28:34 PST 2013 |
|
16
|
|
|
|
|
|
|
# COPYRIGHT: (c) 2008-2010 Geoffrey Leach |
|
17
|
|
|
|
|
|
|
# |
|
18
|
|
|
|
|
|
|
#=============================================================================== |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
package Pod::HtmlEasy::Data; |
|
21
|
5
|
|
|
5
|
|
81235
|
use 5.006002; |
|
|
5
|
|
|
|
|
47
|
|
|
|
5
|
|
|
|
|
430
|
|
|
22
|
|
|
|
|
|
|
|
|
23
|
5
|
|
|
5
|
|
26
|
use strict; |
|
|
5
|
|
|
|
|
6
|
|
|
|
5
|
|
|
|
|
156
|
|
|
24
|
5
|
|
|
5
|
|
25
|
use warnings; |
|
|
5
|
|
|
|
|
9
|
|
|
|
5
|
|
|
|
|
171
|
|
|
25
|
5
|
|
|
5
|
|
1717
|
use English qw{ -no_match_vars }; |
|
|
5
|
|
|
|
|
4507
|
|
|
|
5
|
|
|
|
|
51
|
|
|
26
|
|
|
|
|
|
|
our $VERSION = version->declare("v1.1.11"); |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
use Exporter::Easy ( |
|
29
|
5
|
|
|
|
|
53
|
OK => [ |
|
30
|
|
|
|
|
|
|
qw( EMPTY FALSE NL NUL SPACE TRUE |
|
31
|
|
|
|
|
|
|
body css gen head headend podoff podon title toc toc_tag top ) |
|
32
|
|
|
|
|
|
|
], |
|
33
|
5
|
|
|
5
|
|
8059
|
); |
|
|
5
|
|
|
|
|
7907
|
|
|
34
|
|
|
|
|
|
|
|
|
35
|
1425
|
|
|
1425
|
0
|
23492
|
sub EMPTY { return q{}; } |
|
36
|
2462
|
|
|
2462
|
0
|
14355
|
sub NL { return $INPUT_RECORD_SEPARATOR; } |
|
37
|
9
|
|
|
9
|
0
|
605
|
sub NUL { return qq{\0}; } |
|
38
|
1
|
|
|
1
|
0
|
535
|
sub SPACE { return q{ }; } |
|
39
|
10
|
|
|
10
|
0
|
610
|
sub TRUE { return 1; } |
|
40
|
22
|
|
|
22
|
0
|
1147
|
sub FALSE { return 0; } |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub head { |
|
43
|
95
|
|
|
95
|
0
|
428346
|
return q{}, |
|
44
|
|
|
|
|
|
|
q{}, |
|
45
|
|
|
|
|
|
|
q{}; |
|
46
|
|
|
|
|
|
|
} |
|
47
|
|
|
|
|
|
|
|
|
48
|
95
|
|
|
95
|
0
|
1293
|
sub headend { return q{}; } |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
sub gen { |
|
51
|
13
|
|
|
13
|
0
|
752
|
my ( $ver, $pver ) = @_; |
|
52
|
13
|
|
|
|
|
76
|
my $g |
|
53
|
|
|
|
|
|
|
= q{
54
|
|
|
|
|
|
|
. qq{Perl/$] [$^O]">}; |
|
55
|
13
|
|
|
|
|
450
|
$g =~ s{VERSION}{$ver}msx; |
|
56
|
13
|
|
|
|
|
46
|
$g =~ s{PVERSION}{$pver}msx; |
|
57
|
13
|
|
|
|
|
54
|
return $g; |
|
58
|
|
|
|
|
|
|
} |
|
59
|
|
|
|
|
|
|
|
|
60
|
98
|
|
|
98
|
0
|
1206
|
sub podon { return q{ }; } |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
sub podoff { |
|
63
|
99
|
|
|
99
|
0
|
2008
|
my $no_body = shift; |
|
64
|
99
|
100
|
|
|
|
327
|
return defined $no_body ? q{} : q{ |