Skip Menu |

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

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

People
Owner: tlinden [...] cpan.org
Requestors: P [...] draigBrady.com
Cc:
AdminCc:

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



Subject: IncludeGlob is not recursive
So my particular use is with tgtd where it has /etc/tgt/targets.conf include /etc/tgt/conf.d/*.conf One can then drop files into /etc/tgt/conf.d However if they in turn want to include a glob it doesn't work. I could get it working by commenting out this line in General.pm local $this->{IncludeGlob}; Not knowing perl I don't understand the full implications of doing this. It seems like the code is trying to restrict globbing to a single level. Why is that? Also any suggestions for a way to support this setup without needing to update Config-General would be much appreciated.
Show quoted text
> I could get it working by commenting out this line in General.pm > local $this->{IncludeGlob};
Hm, actually I can't remember anymore, why I added this local statement there :( And you're right, works like a charm without it. Since no unittest fails without this local statement I think I'll change it in the next version. Show quoted text
> Also any suggestions for a way to support this setup without > needing to update Config-General would be much appreciated.
Well if I fix the issue, an update would be required anyway.
fixed in 2.52