Skip Menu |

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

Report information
The Basics
Id: 18957
Status: resolved
Priority: 0/
Queue: Config-General

People
Owner: Nobody in particular
Requestors: mark.keisler [...] motorola.com
Cc:
AdminCc:

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



Subject: config will not parse
I wrote up a config file but I cannot get it to parse properly. mark@bodhi /tmp $ ./conftest.pl EndBlock "</mirror>" has no StartBlock statement (level: 1, chunk 24)! at ./conftest.pl line 6 mark@bodhi /tmp $ I have attached the script and the config file. I cannot find a reason why this will not parse.
Subject: conftest.pl
#!/usr/bin/perl -w # use Config::General; use strict; #my $conf = new Config::General(-ConfigFile => \*STDIN); my $conf = new Config::General(-ConfigFile => '/tmp/conf'); my %config = $conf->getall(); print "yay\n";
Subject: conf
Download conf
application/octet-stream 705b

Message body not shown because it is not plain text.

From: mark.keisler [...] motorola.com
On Thu Apr 27 14:56:57 2006, guest wrote: Show quoted text
> I wrote up a config file but I cannot get it to parse properly. > mark@bodhi /tmp $ ./conftest.pl > EndBlock "</mirror>" has no StartBlock statement (level: 1, chunk 24)! > at ./conftest.pl line 6 > mark@bodhi /tmp $ > > I have attached the script and the config file. I cannot find a reason > why this will not parse.
Kill thus bug, I realized my 'error' after reading the -SlashIsDirectory section of the docs more carefully.
Sorry for the late reply - RT didn't notify me of new tickets. closed on user request