Skip Menu |
 

This queue is for tickets about the MooseX-SimpleConfig CPAN distribution.

Report information
The Basics
Id: 48206
Status: resolved
Priority: 0/
Queue: MooseX-SimpleConfig

People
Owner: Nobody in particular
Requestors: dmaki [...] cpan.org
Cc:
AdminCc:

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



Subject: RFE: Add way to configure Config::Any in MooseX::SimpleConfig
Download (untitled) / with headers
text/plain 101b
Ditto in the title. I just wanted to pass driver_args to Config::Any, but there was no way to do so.
Download (untitled) / with headers
text/plain 765b
On Sun Jul 26 07:46:05 2009, DMAKI wrote: Show quoted text
> Ditto in the title. > > I just wanted to pass driver_args to Config::Any, but there was no way > to do so.
I had to read the source to find this out, but you can provide a subroutine (perhaps an attribute will work too?) called "config_any_args" which provides the args to pass to Config::Any. For example, I'm using this: sub config_any_args { return { driver_args => { General => { -IncludeGlob => 1, -IncludeRelative => 1, -InterPolateVars => 1, } } }; } Since it's not documented, I'm not sure what the author's intent is, whether it will continue to be available as such. Above works with Version 0.04. YMMV.
RT-Send-CC: dmaki [...] cpan.org
Download (untitled) / with headers
text/plain 128b
thanks for noticing! :)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.