Date: | Wed, 27 Apr 2005 00:00:46 +0000 |
From: | Dorian Taylor <dorian [...] foobarsystems.com> |
To: | bug-config-simple [...] rt.cpan.org |
Subject: | ini-type config chokes on line continuations |
it seems that the bug fixed in ini-type configurations opened up a
new issue for multi-line string parameters on ini files.
i recommend changing line 168 of sub read() from the following:
$self->{_SYNTAX} = $self->guess_syntax(\*FH) or return undef;
to this:
$self->{_SYNTAX} ||= $self->guess_syntax(\*FH) or return undef;
to allow the setting of the syntax from the constructor.
(i figured a diff would be overkill)
cheers
.dorian