[Dancer-users] Dancer 2 and skeleton dir

sawyer x xsawyerx at gmail.com
Sat Oct 13 19:39:12 CEST 2012


On Fri, Oct 12, 2012 at 5:10 PM, Stefan Hornburg (Racke)
<racke at linuxia.de>wrote:

> On 10/12/2012 05:07 PM, David Precious wrote:
>
>>
>>
>> Since Dancer2 uses Config::Any, so they could use any of a variety of
>> config file formats, I expect that bit can just be removed.
>>
>
Yup. Just "use YAML" or "use Config::Any";
It would probably be better to actually lazily load "JSON" or whatever to
write the configuration file with the requested format and die if it fails.
That way it's like "if you got Config::INI, we'll be able to write you an
.ini config".


>
> I suppose we have to start with ONE configuration file format for
> Dancer::Script
> though. IMHO new users don't want to decide about the format and such.


New users might not, but experienced users already asked for the ability to
work with different file formats for the configuration file. Jason Crome
had done the proper work on supporting Config::Any in reading the
configuration file. It has been merged.

Awesome work, obviously. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20121013/34900bf4/attachment.htm>


More information about the Dancer-users mailing list