Skip Menu |

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

Report information
The Basics
Id: 119160
Status: new
Priority: 0/
Queue: Config-General

People
Owner: tlinden [...] cpan.org
Requestors: perlboy [...] cpan.org
Cc:
AdminCc:

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



Subject: Bug + fix related to nested <IfDefine> sections
My contribution of the <IfDefine> wasn't bug free I'm afraid. The following example will not work: <IfDefine TEST> Mode TEST <IfDefine LOG_DEBUG> Loglevel DEBUG </IfDefine> <IfDefine LOG_NORMAL Loglevel NORMAL </IfDefine> <IfDefine> Attached is version 1.63 and a patched version 1.64. The patch also has incorporates allowing leading spaces before <IfDefine> sections and make the regular expression for 'Define <SYMBOL>' detection more strict.
Subject: General.pm-2.64.tar.gz
Download General.pm-2.64.tar.gz
application/x-gzip 47.9k

Message body not shown because it is not plain text.

Example should read: <IfDefine TEST> Mode TEST <IfDefine LOG_DEBUG> Loglevel DEBUG </IfDefine> <IfDefine LOG_NORMAL Loglevel NORMAL </IfDefine> </IfDefine> (close the <IfDefine> with a matching </IfDefine)