line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package POD2::IT;
|
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
8634
|
use 5.005;
|
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
41
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
5
|
1
|
|
|
1
|
|
5
|
use vars qw($VERSION);
|
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
166
|
|
6
|
|
|
|
|
|
|
$VERSION = '0.13';
|
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
6
|
use base qw(Exporter);
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
840
|
|
9
|
|
|
|
|
|
|
our @EXPORT = qw(print_pod print_pods search_perlfunc_re new pod_dirs);
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
my $pods = {
|
12
|
|
|
|
|
|
|
perl => '5.8.8',
|
13
|
|
|
|
|
|
|
perlbook => '5.8.8',
|
14
|
|
|
|
|
|
|
perlboot => '5.8.8',
|
15
|
|
|
|
|
|
|
perlbot => '5.8.8',
|
16
|
|
|
|
|
|
|
perlcheat => '5.8.8',
|
17
|
|
|
|
|
|
|
perldata => '5.8.8',
|
18
|
|
|
|
|
|
|
perlembed => '5.8.8',
|
19
|
|
|
|
|
|
|
perlfaq => '5.8.8',
|
20
|
|
|
|
|
|
|
perlfaq1 => '5.8.8',
|
21
|
|
|
|
|
|
|
perlfaq2 => '5.8.8',
|
22
|
|
|
|
|
|
|
perlfaq3 => '5.8.8',
|
23
|
|
|
|
|
|
|
perlfaq4 => '5.8.8',
|
24
|
|
|
|
|
|
|
perlfaq5 => '5.8.8',
|
25
|
|
|
|
|
|
|
perlfaq6 => '5.8.8',
|
26
|
|
|
|
|
|
|
perlfaq7 => '5.8.8',
|
27
|
|
|
|
|
|
|
perlfaq8 => '5.8.8',
|
28
|
|
|
|
|
|
|
perlfaq9 => '5.8.8',
|
29
|
|
|
|
|
|
|
perlfork => '5.8.8',
|
30
|
|
|
|
|
|
|
perlfunc => '5.8.8',
|
31
|
|
|
|
|
|
|
perlintro => '5.8.8',
|
32
|
|
|
|
|
|
|
perlipc => '5.8.8',
|
33
|
|
|
|
|
|
|
perllol => '5.8.8',
|
34
|
|
|
|
|
|
|
perlmod => '5.8.8',
|
35
|
|
|
|
|
|
|
perlmodinstall => '5.8.8',
|
36
|
|
|
|
|
|
|
perlmodstyle => '5.8.8',
|
37
|
|
|
|
|
|
|
perlnewmod => '5.8.8',
|
38
|
|
|
|
|
|
|
perlopentut => '5.8.8',
|
39
|
|
|
|
|
|
|
perlpacktut => '5.8.8',
|
40
|
|
|
|
|
|
|
perlref => '5.8.8',
|
41
|
|
|
|
|
|
|
perlreftut => '5.8.8',
|
42
|
|
|
|
|
|
|
perlrequick => '5.8.8',
|
43
|
|
|
|
|
|
|
perlreref => '5.8.8',
|
44
|
|
|
|
|
|
|
perlstyle => '5.8.8',
|
45
|
|
|
|
|
|
|
perlsub => '5.8.8',
|
46
|
|
|
|
|
|
|
perlsyn => '5.8.8',
|
47
|
|
|
|
|
|
|
perlthrtut => '5.8.8',
|
48
|
|
|
|
|
|
|
perltoot => '5.8.8',
|
49
|
|
|
|
|
|
|
perlunicode => '5.8.8',
|
50
|
|
|
|
|
|
|
perluniintro => '5.8.8',
|
51
|
|
|
|
|
|
|
perlvar => '5.8.8',
|
52
|
|
|
|
|
|
|
perlxstut => '5.8.8',
|
53
|
|
|
|
|
|
|
};
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
sub new {
|
56
|
0
|
|
|
0
|
1
|
|
return __PACKAGE__;
|
57
|
|
|
|
|
|
|
}
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
sub pod_dirs {
|
60
|
0
|
|
|
0
|
1
|
|
( my $mod = __PACKAGE__ . '.pm' ) =~ s|::|/|g;
|
61
|
0
|
|
|
|
|
|
( my $dir = $INC{$mod} ) =~ s/\.pm\z//;
|
62
|
0
|
|
|
|
|
|
return $dir;
|
63
|
|
|
|
|
|
|
}
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
sub print_pods {
|
66
|
0
|
|
|
0
|
1
|
|
print_pod(sort keys %$pods);
|
67
|
|
|
|
|
|
|
}
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
sub print_pod {
|
70
|
0
|
0
|
|
0
|
1
|
|
my @args = @_ ? @_ : @ARGV;
|
71
|
|
|
|
|
|
|
|
72
|
0
|
|
|
|
|
|
while (@args) {
|
73
|
0
|
|
|
|
|
|
(my $pod = lc(shift @args)) =~ s/\.pod$//;
|
74
|
0
|
0
|
|
|
|
|
if ( exists $pods->{$pod} ) {
|
75
|
0
|
|
|
|
|
|
print "\t'$pod' translated from Perl $pods->{$pod}\n";
|
76
|
|
|
|
|
|
|
}
|
77
|
|
|
|
|
|
|
else {
|
78
|
0
|
|
|
|
|
|
print "\t'$pod' doesn't yet exists\n";
|
79
|
|
|
|
|
|
|
}
|
80
|
|
|
|
|
|
|
}
|
81
|
|
|
|
|
|
|
}
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
sub search_perlfunc_re {
|
84
|
0
|
|
|
0
|
1
|
|
return 'Elenco delle funzioni Perl in ordine alfabetico';
|
85
|
|
|
|
|
|
|
}
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
1;
|
88
|
|
|
|
|
|
|
__END__
|