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<[email protected]> 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: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ > _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
