line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Config::INI::Reader::Multiline; |
2
|
|
|
|
|
|
|
$Config::INI::Reader::Multiline::VERSION = '1.001'; |
3
|
2
|
|
|
2
|
|
29408
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
54
|
|
4
|
2
|
|
|
2
|
|
5
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
59
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
1105
|
use Config::INI::Reader 0.024; |
|
2
|
|
|
|
|
76617
|
|
|
2
|
|
|
|
|
398
|
|
7
|
|
|
|
|
|
|
our @ISA = qw( Config::INI::Reader ); |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub parse_value_assignment { |
10
|
17
|
|
|
17
|
1
|
4122
|
my ( $self, $line ) = @_; |
11
|
17
|
100
|
|
|
|
81
|
return if $line =~ /\s*\\\s*\z/; |
12
|
|
|
|
|
|
|
$line = delete( $self->{__buffer} ) . $line |
13
|
9
|
100
|
66
|
|
|
52
|
if exists $self->{__buffer} && $line =~ s/^\s*//; |
14
|
9
|
|
|
|
|
27
|
return $self->SUPER::parse_value_assignment($line); |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub handle_unparsed_line { |
18
|
10
|
|
|
10
|
1
|
35
|
my ( $self, $line, $handle ) = @_; # order changed in CIR 0.024 |
19
|
10
|
100
|
66
|
|
|
237
|
return $self->{__buffer} .= "$line " |
20
|
|
|
|
|
|
|
if $line =~ s/\s*\\\s*\z// && $line =~ s/\A\s*//; |
21
|
2
|
|
|
|
|
7
|
return $self->SUPER::handle_unparsed_line( $line, $handle ); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |