line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
58483
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
41
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
108
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Pod::POM::View::TextBasic; |
5
|
|
|
|
|
|
|
our $VERSION = 0.1; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
6
|
use base 'Pod::POM::View::Text'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
724
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $DROPS = 1; |
10
|
|
|
|
|
|
|
|
11
|
0
|
|
|
0
|
1
|
|
sub view_seq_bold { return $_[1]; } |
12
|
|
|
|
|
|
|
|
13
|
0
|
|
|
0
|
1
|
|
sub view_seq_italic { return $_[1]; } |
14
|
|
|
|
|
|
|
|
15
|
0
|
0
|
|
0
|
1
|
|
sub view_seq_code { return $DROPS? '' : $_[1] } |
16
|
|
|
|
|
|
|
|
17
|
0
|
0
|
|
0
|
1
|
|
sub view_seq_file { return $DROPS? '' : $_[1] } |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub view_seq_link { |
20
|
0
|
0
|
|
0
|
1
|
|
return $DROPS? '' : $_[1]; |
21
|
0
|
|
|
|
|
|
my ($self, $link) = @_; |
22
|
0
|
0
|
|
|
|
|
return ($link =~ m/^(.*?)\|/) ? |
23
|
|
|
|
|
|
|
$1 : $link; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
0
|
0
|
|
0
|
1
|
|
sub view_verbatim { return $DROPS? '' : $_[1] } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 NAME |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Pod::POM::View::TextBasic - Pod::POM::View::Text without sequence formatting |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 SYNOPSIS |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Pod::POM->default_view( 'Pod::POM::View::TextBasic' ) |
37
|
|
|
|
|
|
|
or die $Pod::POM::ERROR; |
38
|
|
|
|
|
|
|
my $p = Pod::POM->new; |
39
|
|
|
|
|
|
|
$p->parse_file(...); |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 DESCRIPTION |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
A sub-class of L |
44
|
|
|
|
|
|
|
that does not ornament inline sequences to indicate their presence. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
This class was developed to aid spell-checking POD: for that reason, |
47
|
|
|
|
|
|
|
verbatim blocks, inline code sequences, and the bodies of links are ignored |
48
|
|
|
|
|
|
|
unless C is set to a false value by the user. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 AUTHOR |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Lee Goddard (C). |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 COPYRIGHT |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Copyright (C) 2011, Lee Goddard. All Rights Reserved. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|