2010/10/11 "Poul H. Sørensen" <[email protected]>:
> On 10/10/10 23:32, Jesse Luehrs wrote:
>>
>> On Sun, Oct 10, 2010 at 10:00:17PM +0200, "Poul H. Sørensen" wrote:
>>>
>>> Hi
>>>
>>> I'm trying to make a perl-module, where (some of) the attributes can be
>>> set by merging several configuration files, but
>>> I can't get it to work as expected/required...
>
>>> Q1: Foo->new_with_options( )
>>>     how do I pass the configuration file as an argument?
>>
>> I believe that passing configfile =>  'foo.conf' to new_with_options
>> should do the right thing. If it doesn't, that should probably be fixed.
>
> It seems to me that only the last configfile specified is parsed.

What version of SimpleConfig do you use?  There was a bug in the 0.07
version - and it was fixed in 0.08
(http://cpansearch.perl.org/src/BOBTFISH/MooseX-SimpleConfig-0.09/ChangeLog)
that was related to passing multiple files.  And it is maintained
apparently :)

Cheers,
Zbigniew

Reply via email to