line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Amazon::API::Pod::Simple::Text; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
21
|
use strict; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
85
|
|
4
|
3
|
|
|
3
|
|
16
|
use warnings; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
79
|
|
5
|
|
|
|
|
|
|
|
6
|
3
|
|
|
3
|
|
15
|
use parent qw{Pod::Simple::Text}; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
24
|
|
7
|
3
|
|
|
3
|
|
204206
|
use IO::Scalar; |
|
3
|
|
|
|
|
29691
|
|
|
3
|
|
|
|
|
136
|
|
8
|
3
|
|
|
3
|
|
22
|
use ReadonlyX; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
828
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our @EXPORT = qw{ $SECTION }; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
Readonly::Scalar my $TRUE => 1; |
13
|
|
|
|
|
|
|
Readonly::Scalar my $FALSE => 0; |
14
|
|
|
|
|
|
|
Readonly::Scalar my $EMPTY => q{}; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
my $PROCESS_HEAD2 = $FALSE; |
19
|
|
|
|
|
|
|
my $PROCESS_ELEMENT = $FALSE; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
our $SECTION; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
caller or __PACKAGE__->main(@ARGV); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
######################################################################## |
26
|
|
|
|
|
|
|
sub _handle_text { |
27
|
|
|
|
|
|
|
######################################################################## |
28
|
0
|
|
|
0
|
|
|
my ( $self, @args ) = @_; |
29
|
|
|
|
|
|
|
|
30
|
0
|
0
|
0
|
|
|
|
if ( $SECTION && $PROCESS_HEAD2 && $args[0] eq $SECTION ) { |
|
|
|
0
|
|
|
|
|
31
|
0
|
|
|
|
|
|
$PROCESS_ELEMENT = $TRUE; |
32
|
0
|
|
|
|
|
|
$PROCESS_HEAD2 = $FALSE; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
else { |
35
|
0
|
|
|
|
|
|
$PROCESS_HEAD2 = $FALSE; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
0
|
0
|
0
|
|
|
|
return $PROCESS_ELEMENT |
39
|
|
|
|
|
|
|
|| !$SECTION ? $self->SUPER::_handle_text(@args) : undef; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
######################################################################## |
43
|
|
|
|
|
|
|
sub start_head2 { |
44
|
|
|
|
|
|
|
######################################################################## |
45
|
0
|
|
|
0
|
0
|
|
my ( $self, @args ) = @_; |
46
|
|
|
|
|
|
|
|
47
|
0
|
|
|
|
|
|
$PROCESS_HEAD2 = $TRUE; |
48
|
0
|
|
|
|
|
|
$PROCESS_ELEMENT = $FALSE; |
49
|
|
|
|
|
|
|
|
50
|
0
|
|
|
|
|
|
return $self->SUPER::start_head2(@args); |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
1; |