[Catalyst] Configuration process
bobtfish at bobtfish.net
Thu Jul 2 22:03:36 GMT 2009
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
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).
More information about the Catalyst