line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
require 5; |
3
|
14
|
|
|
14
|
|
252
|
use 5.008; |
|
14
|
|
|
|
|
52
|
|
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
|
|
74
|
use strict; |
|
14
|
|
|
|
|
43
|
|
|
14
|
|
|
|
|
366
|
|
9
|
14
|
|
|
14
|
|
80
|
use Pod::Simple; |
|
14
|
|
|
|
|
27
|
|
|
14
|
|
|
|
|
531
|
|
10
|
|
|
|
|
|
|
require Encode; |
11
|
14
|
|
|
14
|
|
111
|
use vars qw($VERSION ); |
|
14
|
|
|
|
|
27
|
|
|
14
|
|
|
|
|
3788
|
|
12
|
|
|
|
|
|
|
$VERSION = '3.42'; |
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
|
9
|
return Encode::->encodings(':all'); |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub encoding_is_available { |
22
|
54
|
|
|
54
|
0
|
210
|
return Encode::resolve_alias($_[1]); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub encmodver { |
26
|
2
|
|
50
|
2
|
0
|
11
|
return "Encode.pm v" .($Encode::VERSION || '?'); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub make_transcoder { |
30
|
52
|
|
|
52
|
0
|
243
|
my $e = Encode::find_encoding($_[1]); |
31
|
52
|
50
|
|
|
|
898
|
die "WHAT ENCODING!?!?" unless $e; |
32
|
52
|
|
|
|
|
85
|
my $x; |
33
|
|
|
|
|
|
|
return sub { |
34
|
1850
|
|
|
1850
|
|
2910
|
foreach $x (@_) { |
35
|
1954
|
100
|
|
|
|
8280
|
$x = $e->decode($x) unless Encode::is_utf8($x); |
36
|
|
|
|
|
|
|
} |
37
|
1850
|
|
|
|
|
18593
|
return; |
38
|
52
|
|
|
|
|
398
|
}; |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|