line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
require 5; |
3
|
14
|
|
|
14
|
|
284
|
use 5.008; |
|
14
|
|
|
|
|
47
|
|
4
|
|
|
|
|
|
|
## Anything before 5.8.0 is GIMPY! |
5
|
|
|
|
|
|
|
## This module is to be use()'d only by Pod::Simple::Transcode |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Pod::Simple::TranscodeSmart; |
8
|
14
|
|
|
14
|
|
80
|
use strict; |
|
14
|
|
|
|
|
25
|
|
|
14
|
|
|
|
|
317
|
|
9
|
14
|
|
|
14
|
|
69
|
use Pod::Simple; |
|
14
|
|
|
|
|
33
|
|
|
14
|
|
|
|
|
587
|
|
10
|
|
|
|
|
|
|
require Encode; |
11
|
14
|
|
|
14
|
|
190
|
use vars qw($VERSION ); |
|
14
|
|
|
|
|
40
|
|
|
14
|
|
|
|
|
3882
|
|
12
|
|
|
|
|
|
|
$VERSION = '3.43'; |
13
|
|
|
|
|
|
|
|
14
|
0
|
|
|
0
|
0
|
0
|
sub is_dumb {0} |
15
|
0
|
|
|
0
|
0
|
0
|
sub is_smart {1} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub all_encodings { |
18
|
2
|
|
|
2
|
0
|
11
|
return Encode::->encodings(':all'); |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub encoding_is_available { |
22
|
54
|
|
|
54
|
0
|
236
|
return Encode::resolve_alias($_[1]); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub encmodver { |
26
|
2
|
|
50
|
2
|
0
|
12
|
return "Encode.pm v" .($Encode::VERSION || '?'); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub make_transcoder { |
30
|
52
|
|
|
52
|
0
|
147
|
my $e = Encode::find_encoding($_[1]); |
31
|
52
|
50
|
|
|
|
934
|
die "WHAT ENCODING!?!?" unless $e; |
32
|
52
|
|
|
|
|
89
|
my $x; |
33
|
|
|
|
|
|
|
return sub { |
34
|
1850
|
|
|
1850
|
|
3201
|
foreach $x (@_) { |
35
|
1954
|
100
|
|
|
|
8914
|
$x = $e->decode($x) unless Encode::is_utf8($x); |
36
|
|
|
|
|
|
|
} |
37
|
1850
|
|
|
|
|
19485
|
return; |
38
|
52
|
|
|
|
|
389
|
}; |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|