Skip Menu |

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

Report information
The Basics
Id: 131728
Status: new
Priority: 0/
Queue: Config-Simple

People
Owner: Nobody in particular
Requestors: stuartaltman [...] hotmail.com
Cc:
AdminCc:

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



Subject: Config::Simple bug report with repro
Date: Mon, 10 Feb 2020 20:47:07 +0000
To: "bug-Config-Simple [...] rt.cpan.org" <bug-Config-Simple [...] rt.cpan.org>
From: Stuart Altman <stuartaltman [...] hotmail.com>
Bug-1: If the first key value pair in the config file is of the form: key1 one= the equals sign confuses the guess_syntax() method. The values are machine generated (wasn't my idea to put an equal sign into the value). Produces the following error: Something went wrong. No supported configuration file syntax found at /home/xxxxx/perl5/perlbrew/perls/perl-5.26.3/lib/site_perl/5.26.3/Config/Simple.pm line 184, <FH> line 2. Manual work-around: If you move this first key value pair down to the second line, everything works fine (see config_works.cfg). Bug-2: If the constructor specifies the syntax with syntax => 'simple' the guess_syntax() method is still called (already reported in 76952). constructor dies with the same error as Bug-1. Attached is config_repro.pl which requires two input files: config_repro.cfg and config_works.cfg. Thank you! Stuart Altman
Download config_repro.zip
application/x-zip-compressed 922b

Message body not shown because it is not plain text.