line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mail::Action::PodToHelp; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1305
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
82
|
|
4
|
2
|
|
|
2
|
|
11
|
use base 'Pod::Simple::Text'; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
1192
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
50543
|
use vars '$VERSION'; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
669
|
|
7
|
|
|
|
|
|
|
$VERSION = '0.46'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub show_headings |
10
|
|
|
|
|
|
|
{ |
11
|
2
|
|
|
2
|
1
|
623
|
my $parser = shift; |
12
|
2
|
|
|
|
|
6
|
$parser->{_show_headings} = { map { $_ => 1 } @_ }; |
|
4
|
|
|
|
|
18
|
|
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub start_head1 |
16
|
|
|
|
|
|
|
{ |
17
|
5
|
|
|
5
|
1
|
2464
|
my $parser = shift; |
18
|
5
|
|
|
|
|
18
|
$parser->{_in_head1} = 1; |
19
|
5
|
|
|
|
|
28
|
$parser->SUPER::start_head1( @_ ); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub start_item_bullet |
23
|
|
|
|
|
|
|
{ |
24
|
2
|
|
|
2
|
1
|
3118
|
my $parser = shift; |
25
|
2
|
100
|
|
|
|
11
|
return unless $parser->{_show}; |
26
|
1
|
|
|
|
|
9
|
$parser->SUPER::start_item_bullet( @_ ); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub end_item_bullet |
30
|
|
|
|
|
|
|
{ |
31
|
2
|
|
|
2
|
1
|
2344
|
my $parser = shift; |
32
|
2
|
100
|
|
|
|
9
|
return unless $parser->{_show}; |
33
|
1
|
|
|
|
|
13
|
$parser->SUPER::end_item_bullet( @_ ); |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub handle_text |
37
|
|
|
|
|
|
|
{ |
38
|
13
|
|
|
13
|
1
|
4034
|
my ($parser, $text) = @_; |
39
|
|
|
|
|
|
|
|
40
|
13
|
100
|
|
|
|
46
|
if ( $parser->{_in_head1} ) |
41
|
|
|
|
|
|
|
{ |
42
|
8
|
100
|
|
|
|
32
|
$parser->{_show} = exists $parser->{_show_headings}{$text} ? 1 : 0; |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
13
|
100
|
|
|
|
48
|
return unless $parser->{_show}; |
46
|
7
|
|
|
|
|
39
|
$parser->SUPER::handle_text( $text ); |
47
|
|
|
|
|
|
|
} |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
sub end_head1 |
50
|
|
|
|
|
|
|
{ |
51
|
5
|
|
|
5
|
1
|
1676
|
my $parser = shift; |
52
|
5
|
|
|
|
|
11
|
$parser->{_in_head1} = 0; |
53
|
5
|
|
|
|
|
28
|
$parser->SUPER::end_head1( @_ ); |
54
|
|
|
|
|
|
|
} |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
1; |
57
|
|
|
|
|
|
|
__END__ |