line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package POD2::ES;
|
2
|
1
|
|
|
1
|
|
31117
|
use utf8;
|
|
1
|
|
|
|
|
14
|
|
|
1
|
|
|
|
|
8
|
|
3
|
1
|
|
|
1
|
|
45
|
use strict;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
39
|
|
4
|
1
|
|
|
1
|
|
6
|
use warnings;
|
|
1
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
52
|
|
5
|
1
|
|
|
1
|
|
579551
|
use open ':utf8';
|
|
1
|
|
|
|
|
1603
|
|
|
1
|
|
|
|
|
9
|
|
6
|
1
|
|
|
1
|
|
143
|
use base 'Exporter';
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
153
|
|
7
|
1
|
|
|
1
|
|
7
|
use base 'POD2::Base';
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
166741
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '5.24.0.2_3';
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our @EXPORT = qw(print_pod print_pods);
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
# Versions list
|
14
|
|
|
|
|
|
|
sub pod_info {{
|
15
|
0
|
|
|
0
|
1
|
0
|
perl => '5.24.0',
|
16
|
|
|
|
|
|
|
perlbook => '5.24.0',
|
17
|
|
|
|
|
|
|
perlboot => '5.24.0',
|
18
|
|
|
|
|
|
|
perlbot => '5.24.0',
|
19
|
|
|
|
|
|
|
#perlcheat => '5.24.0',
|
20
|
|
|
|
|
|
|
#perlclib => '5.24.0',
|
21
|
|
|
|
|
|
|
perlcommunity => '5.24.0',
|
22
|
|
|
|
|
|
|
#perldata => '5.24.0',
|
23
|
|
|
|
|
|
|
perldbmfilter => '5.24.0',
|
24
|
|
|
|
|
|
|
perldoc => '5.24.0',
|
25
|
|
|
|
|
|
|
#perlexperiment => '5.24.0',
|
26
|
|
|
|
|
|
|
perlfaq1 => '5.24.0',
|
27
|
|
|
|
|
|
|
perlfaq2 => '5.24.0',
|
28
|
|
|
|
|
|
|
perlfreebsd => '5.24.0',
|
29
|
|
|
|
|
|
|
perlfunc => '5.24.0',
|
30
|
|
|
|
|
|
|
#perlgit => '5.24.0',
|
31
|
|
|
|
|
|
|
#perlglossary => '5.24.0',
|
32
|
|
|
|
|
|
|
perlhacktut => '5.24.0',
|
33
|
|
|
|
|
|
|
#perlhist => '5.24.0',
|
34
|
|
|
|
|
|
|
perlhurd => '5.24.0',
|
35
|
|
|
|
|
|
|
perlintro => '5.24.0',
|
36
|
|
|
|
|
|
|
perlmod => '5.24.0',
|
37
|
|
|
|
|
|
|
perlmodinstall => '5.24.0',
|
38
|
|
|
|
|
|
|
perlmroapi => '5.24.0',
|
39
|
|
|
|
|
|
|
perlnewmod => '5.24.0',
|
40
|
|
|
|
|
|
|
perlnumber => '5.24.0',
|
41
|
|
|
|
|
|
|
perlobj => '5.24.0',
|
42
|
|
|
|
|
|
|
perlootut => '5.24.0',
|
43
|
|
|
|
|
|
|
perlop => '5.24.0',
|
44
|
|
|
|
|
|
|
perlopenbsd => '5.24.0',
|
45
|
|
|
|
|
|
|
perlopentut => '5.24.0',
|
46
|
|
|
|
|
|
|
perlpragma => '5.24.0',
|
47
|
|
|
|
|
|
|
#perlre => '5.24.0',
|
48
|
|
|
|
|
|
|
perlsource => '5.24.0',
|
49
|
|
|
|
|
|
|
perlstyle => '5.24.0',
|
50
|
|
|
|
|
|
|
perltodo => '5.24.0',
|
51
|
|
|
|
|
|
|
perltooc => '5.24.0',
|
52
|
|
|
|
|
|
|
perltoot => '5.24.0',
|
53
|
|
|
|
|
|
|
perlunifaq => '5.24.0',
|
54
|
|
|
|
|
|
|
perlunitut => '5.24.0',
|
55
|
|
|
|
|
|
|
perlutil => '5.24.0',
|
56
|
|
|
|
|
|
|
}};
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# String for perldoc with -L switch
|
59
|
|
|
|
|
|
|
sub search_perlfunc_re {
|
60
|
1
|
|
|
1
|
1
|
60
|
return 'Lista de funciones de Perl en orden';
|
61
|
|
|
|
|
|
|
}
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
# Print information about a pod file
|
64
|
|
|
|
|
|
|
sub print_pod {
|
65
|
0
|
|
|
0
|
1
|
|
my $self = shift;
|
66
|
|
|
|
|
|
|
|
67
|
0
|
0
|
|
|
|
|
my @args = @_ ? @_ : @ARGV;
|
68
|
|
|
|
|
|
|
|
69
|
0
|
0
|
|
|
|
|
unless (ref $self) {
|
70
|
0
|
0
|
|
|
|
|
if (defined $self) {
|
71
|
0
|
0
|
|
|
|
|
if ($self ne __PACKAGE__) {
|
72
|
0
|
|
|
|
|
|
unshift @args, $self;
|
73
|
0
|
|
|
|
|
|
$self = __PACKAGE__;
|
74
|
|
|
|
|
|
|
}
|
75
|
|
|
|
|
|
|
}
|
76
|
|
|
|
|
|
|
else {
|
77
|
0
|
|
|
|
|
|
$self = __PACKAGE__;
|
78
|
|
|
|
|
|
|
}
|
79
|
|
|
|
|
|
|
}
|
80
|
|
|
|
|
|
|
|
81
|
0
|
|
|
|
|
|
my $pods = $self->pod_info;
|
82
|
|
|
|
|
|
|
|
83
|
0
|
|
|
|
|
|
while (@args) {
|
84
|
0
|
|
|
|
|
|
(my $pod = lc(shift @args)) =~ s/\.pod$//;
|
85
|
0
|
0
|
|
|
|
|
if ( exists $pods->{$pod} ) {
|
86
|
0
|
|
|
|
|
|
print "\t'$pod' traducido correspondiente a Perl $pods->{$pod}\n";
|
87
|
|
|
|
|
|
|
}
|
88
|
|
|
|
|
|
|
else {
|
89
|
0
|
|
|
|
|
|
print "\t'$pod' todavĂa no existe\n";
|
90
|
|
|
|
|
|
|
}
|
91
|
|
|
|
|
|
|
}
|
92
|
|
|
|
|
|
|
}
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
# Print list of translated pods
|
95
|
|
|
|
|
|
|
sub print_pods {
|
96
|
0
|
0
|
|
0
|
1
|
|
my $self = @_ ? shift : __PACKAGE__;
|
97
|
|
|
|
|
|
|
|
98
|
0
|
|
|
|
|
|
$self->SUPER::print_pods;
|
99
|
|
|
|
|
|
|
}
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
1;
|
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
__END__
|