| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Config::Pound::Node::Section; |
|
2
|
3
|
|
|
3
|
|
24
|
use parent 'Config::Proxy::Node::Section'; |
|
|
3
|
|
|
|
|
49
|
|
|
|
3
|
|
|
|
|
24
|
|
|
3
|
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
sub append_node { |
|
5
|
81
|
|
|
81
|
1
|
118
|
my $self = shift; |
|
6
|
81
|
|
|
|
|
192
|
my $last = $self->last; |
|
7
|
81
|
50
|
100
|
|
|
295
|
if ($last && $last->is_statement && lc($last->kw) eq 'end') { |
|
|
|
|
66
|
|
|
|
|
|
8
|
0
|
|
|
|
|
0
|
$self->insert_node($last->index, @_); |
|
9
|
|
|
|
|
|
|
} else { |
|
10
|
81
|
|
|
|
|
222
|
$self->SUPER::append_node(@_); |
|
11
|
|
|
|
|
|
|
} |
|
12
|
|
|
|
|
|
|
} |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1; |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 NAME |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Config::Pound::Node::Section - pound proxy configuration section |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Objects of this class represent a C |
|
23
|
|
|
|
|
|
|
in B configuration file. It is basically the same as its parent |
|
24
|
|
|
|
|
|
|
class B (which see), except that its |
|
25
|
|
|
|
|
|
|
B method ensures that no statements are added after the |
|
26
|
|
|
|
|
|
|
terminating B keyword. |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
L, L. |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=cut |
|
33
|
|
|
|
|
|
|
|