Skip Menu |
 

This queue is for tickets about the Config-Auto CPAN distribution.

Report information
The Basics
Id: 91891
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Config-Auto

People
Owner: Nobody in particular
Requestors: SMITHFARM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.42
Fixed in: (no value)



Subject: Parser chokes on double-quoted string
Download (untitled) / with headers
text/plain 423b
When I run the following script: use v5.10.0; use strict; use warnings; use Config::Auto; my $cfg = Config::Auto::parse("./my.conf"); on the following configuration file: SOME_SETTING="/a/b/c " the parser chokes on the space between 'c' and '"' $ perl c-a-test.plx File format unclear! space => 2,equal => 2 at c-a-test.plx line 7. What's worse, the parser croaks instead of returning an error.
Download (untitled) / with headers
text/plain 635b
On Mon Jan 06 04:34:55 2014, SMITHFARM wrote: Show quoted text
> When I run the following script: > > use v5.10.0; > use strict; > use warnings; > > use Config::Auto; > > my $cfg = Config::Auto::parse("./my.conf"); > > on the following configuration file: > > SOME_SETTING="/a/b/c " > > the parser chokes on the space between 'c' and '"' > > $ perl c-a-test.plx > File format unclear! space => 2,equal => 2 at c-a-test.plx line 7. > > What's worse, the parser croaks instead of returning an error. > >
Thanks for the ticket, sorry it took me so long to get around to fixing it. 0.44 is up on CPAN that resolves your issue.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.