line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
3
|
11
|
|
|
11
|
|
72
|
use warnings; |
|
11
|
|
|
|
|
12
|
|
|
11
|
|
|
|
|
300
|
|
4
|
11
|
|
|
11
|
|
42
|
|
|
11
|
|
|
|
|
22
|
|
|
11
|
|
|
|
|
295
|
|
5
|
|
|
|
|
|
|
use parent 'PLS::Parser::Pod'; |
6
|
11
|
|
|
11
|
|
59
|
|
|
11
|
|
|
|
|
20
|
|
|
11
|
|
|
|
|
69
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
PLS::Parser::Pod::Builtin |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 DESCRIPTION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
This attempts to find POD for a Perl builtin functions or keywords. |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=cut |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
{ |
18
|
|
|
|
|
|
|
my ($class, @args) = @_; |
19
|
|
|
|
|
|
|
|
20
|
0
|
|
|
0
|
0
|
|
my %args = @args; |
21
|
|
|
|
|
|
|
my $self = $class->SUPER::new(%args); |
22
|
0
|
|
|
|
|
|
$self->{function} = $args{function}; |
23
|
0
|
|
|
|
|
|
|
24
|
0
|
|
|
|
|
|
return $self; |
25
|
|
|
|
|
|
|
} ## end sub new |
26
|
0
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
{ |
28
|
|
|
|
|
|
|
my ($self) = @_; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
my ($ok, $markdown) = $self->run_perldoc_command('-Tuf', $self->{function}); |
31
|
0
|
|
|
0
|
0
|
|
|
32
|
|
|
|
|
|
|
$self->{markdown} = $markdown if $ok; |
33
|
0
|
|
|
|
|
|
return $ok; |
34
|
|
|
|
|
|
|
} ## end sub find |
35
|
0
|
0
|
|
|
|
|
|
36
|
0
|
|
|
|
|
|
1; |