line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pod::Simple::TextContent; |
2
|
2
|
|
|
2
|
|
68955
|
use strict; |
|
2
|
|
|
|
|
11
|
|
|
2
|
|
|
|
|
57
|
|
3
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
54
|
|
4
|
2
|
|
|
2
|
|
11
|
use Carp (); |
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
28
|
|
5
|
2
|
|
|
2
|
|
599
|
use Pod::Simple (); |
|
2
|
|
|
|
|
22
|
|
|
2
|
|
|
|
|
579
|
|
6
|
|
|
|
|
|
|
our $VERSION = '3.45'; |
7
|
|
|
|
|
|
|
our @ISA = ('Pod::Simple'); |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub new { |
10
|
5
|
|
|
5
|
1
|
25033
|
my $self = shift; |
11
|
5
|
|
|
|
|
36
|
my $new = $self->SUPER::new(@_); |
12
|
5
|
|
50
|
|
|
37
|
$new->{'output_fh'} ||= *STDOUT{IO}; |
13
|
5
|
|
|
|
|
28
|
$new->nix_X_codes(1); |
14
|
5
|
|
|
|
|
13
|
return $new; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub _handle_element_start { |
20
|
1316
|
100
|
|
1316
|
|
3493
|
print {$_[0]{'output_fh'}} "\n" unless $_[1] =~ m/^[A-Z]$/s; |
|
765
|
|
|
|
|
2703
|
|
21
|
1316
|
|
|
|
|
2190
|
return; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub _handle_text { |
25
|
1774
|
|
|
1774
|
|
3960
|
$_[1] =~ s/$Pod::Simple::shy//g; |
26
|
1774
|
|
|
|
|
2749
|
$_[1] =~ s/$Pod::Simple::nbsp/ /g; |
27
|
1774
|
|
|
|
|
2355
|
print {$_[0]{'output_fh'}} $_[1]; |
|
1774
|
|
|
|
|
4036
|
|
28
|
1774
|
|
|
|
|
4108
|
return; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub _handle_element_end { |
32
|
1316
|
100
|
|
1316
|
|
3179
|
print {$_[0]{'output_fh'}} "\n" unless $_[1] =~ m/^[A-Z]$/s; |
|
765
|
|
|
|
|
1787
|
|
33
|
1316
|
|
|
|
|
2313
|
return; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |