line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pod::Simple::Transcode; |
2
|
14
|
|
|
14
|
|
1247
|
use strict; |
|
14
|
|
|
|
|
29
|
|
|
14
|
|
|
|
|
1467
|
|
3
|
|
|
|
|
|
|
our $VERSION = '3.45'; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
BEGIN { |
6
|
14
|
50
|
|
14
|
|
140
|
if(defined &DEBUG) {;} # Okay |
|
|
50
|
|
|
|
|
|
7
|
14
|
|
|
|
|
2716
|
elsif( defined &Pod::Simple::DEBUG ) { *DEBUG = \&Pod::Simple::DEBUG; } |
8
|
0
|
|
|
|
|
|
else { *DEBUG = sub () {0}; } |
9
|
|
|
|
|
|
|
} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our @ISA; |
12
|
|
|
|
|
|
|
foreach my $class ( |
13
|
|
|
|
|
|
|
'Pod::Simple::TranscodeSmart', |
14
|
|
|
|
|
|
|
'Pod::Simple::TranscodeDumb', |
15
|
|
|
|
|
|
|
'', |
16
|
|
|
|
|
|
|
) { |
17
|
|
|
|
|
|
|
$class or die "Couldn't load any encoding classes"; |
18
|
|
|
|
|
|
|
DEBUG and print STDERR "About to try loading $class...\n"; |
19
|
|
|
|
|
|
|
eval "require $class;"; |
20
|
|
|
|
|
|
|
if($@) { |
21
|
|
|
|
|
|
|
DEBUG and print STDERR "Couldn't load $class: $@\n"; |
22
|
|
|
|
|
|
|
} else { |
23
|
|
|
|
|
|
|
DEBUG and print STDERR "OK, loaded $class.\n"; |
24
|
|
|
|
|
|
|
@ISA = ($class); |
25
|
|
|
|
|
|
|
last; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
0
|
|
|
sub _blorp { return; } # just to avoid any "empty class" warning |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
1; |
32
|
|
|
|
|
|
|
__END__ |