Skip Menu |

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

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

People
Owner: tlinden [...] cpan.org
Requestors: muskie73 [...] comcast.net
Cc:
AdminCc:

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



Subject: wishlist: allow interpolation in include statements?
It would be cool if it was possible to interpolate variables in include statements. ie. foo = bar include $foo to include a config file named "bar". Currently this just gives an error: "The file $foo does not exist..."
I agree that this would be very nice, but opening include files is done before actually parsing the config and resolving variables. I had to rewrite the whole thing. So, not this time, perhaps sometime later. Sorry.