[Catalyst] Configuration process

Alejandro Imass alejandro.imass at gmail.com
Thu Jul 2 22:58:01 GMT 2009


Ok! Good to hear, I honestly prefer YAML/JSON for human-readable
serialization any day.

I just skipped through the Config::General POD and I think I'd rather
write my configs in terse Dumper than learn this yaml (pun intended)
<lol>


On Fri, Jul 3, 2009 at 5:33 PM, Tomas Doran<bobtfish at bobtfish.net> wrote:
>
> On 3 Jul 2009, at 15:36, Alejandro Imass wrote:
>
>> You are right and this is something new. I've only ported my apps to
>> new cat releases but haven't started one from scratch in a while.
>>
>> I just tested, and sure enough, it creates a .conf file instead of the
>> traditional yaml file, although it says:
>>
>> # rename this file to test.yml and put a : in front of "name" if
>> # you want to use yaml like in old versions of Catalyst
>>
>> Guess I have to catchup to all these changes... :(
>
> Don't worry. A lot of people still use YAML in preference to Config::General
> style .conf.
>
> Both are still fully supported.
>
> The main reason that the default for generated apps was changed is that it's
> _FAR TOO EAY_ for a newbie to mess up the whitespace in YAML (especially
> when copying it out of POD sections).
>
> This caused a large amount of confusion for people new to the framework,
> therefore we changed to Config::General as it doesn't have those drawbacks.
>
> I still exclusively use YAML in my apps (as it's what I'm used to, and what
> all of work's none Catalyst stuff already used).
>
> Cheers
> t0m
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>



More information about the Catalyst mailing list