Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: elderling [...] gmail.com
Cc:
AdminCc:

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



Subject: Comment (#) character preceding EOL on a <block> line causes parse failure
Example: <foo> # bar = baz </foo> causes: Config::General: EndBlock "</foo>" has no StartBlock statement (level: 1, chunk 3)! I have attached a proposed patch to General.pm and cfg.6 for your consideration. This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi Linux hostname 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
Subject: cfg.6.patch
10a11,14 > > <foo> # > bar = baz > </foo>
Subject: General.pm.patch
612c612 < s/(?<!\\)#.+$//; --- > s/(?<!\\)#.*$//;
fixed in 2.43