line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pod::Simple::Methody; |
2
|
19
|
|
|
19
|
|
77732
|
use strict; |
|
19
|
|
|
|
|
44
|
|
|
19
|
|
|
|
|
559
|
|
3
|
19
|
|
|
19
|
|
86
|
use warnings; |
|
19
|
|
|
|
|
39
|
|
|
19
|
|
|
|
|
424
|
|
4
|
19
|
|
|
19
|
|
10096
|
use Pod::Simple (); |
|
19
|
|
|
|
|
59
|
|
|
19
|
|
|
|
|
3631
|
|
5
|
|
|
|
|
|
|
our $VERSION = '3.45'; |
6
|
|
|
|
|
|
|
our @ISA = ('Pod::Simple'); |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# Yes, we could use named variables, but I want this to be impose |
9
|
|
|
|
|
|
|
# as little an additional performance hit as possible. |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub _handle_element_start { |
12
|
4865
|
|
|
4865
|
|
7909
|
$_[1] =~ tr/-:./__/; |
13
|
4865
|
|
100
|
|
|
24276
|
( $_[0]->can( 'start_' . $_[1] ) |
14
|
|
|
|
|
|
|
|| return |
15
|
|
|
|
|
|
|
)->( |
16
|
|
|
|
|
|
|
$_[0], $_[2] |
17
|
|
|
|
|
|
|
); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub _handle_text { |
21
|
6042
|
|
100
|
6042
|
|
20209
|
( $_[0]->can( 'handle_text' ) |
22
|
|
|
|
|
|
|
|| return |
23
|
|
|
|
|
|
|
)->( |
24
|
|
|
|
|
|
|
@_ |
25
|
|
|
|
|
|
|
); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub _handle_element_end { |
29
|
4865
|
|
|
4865
|
|
7425
|
$_[1] =~ tr/-:./__/; |
30
|
4865
|
|
100
|
|
|
22219
|
( $_[0]->can( 'end_' . $_[1] ) |
31
|
|
|
|
|
|
|
|| return |
32
|
|
|
|
|
|
|
)->( |
33
|
|
|
|
|
|
|
$_[0], $_[2] |
34
|
|
|
|
|
|
|
); |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |