[Catalyst] YAML vs. *

Matt S Trout dbix-class at trout.me.uk
Fri Jun 9 22:27:55 CEST 2006

Carl Franks wrote:
> Wow, this is a long thread for only 4 hours!
> I dislike YAML, but I still prefer it to the other options you suggested.
> The main reason I dislike it is everytime I need to add an array to a
> cat config file, I need to either find a previous application that had
> an array in it's config file, or start up a shell and dump an array,
> because I can never remember the syntax.
> I think what would make me happy would be to simply have the
> auto-generated yaml config file have a half-dozen or so lines of
> comments at the top, containing a brief overview of the syntax and any
> vital reminders such as "Don't use tabs!"
> Good idea?

I like. And I think with the amount of already-extant documentation using 
YAML, this is probably the lowest-friction answer as well.

Fancy putting together a quick cheatsheet as a Catalyst::Helper patch?

      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +

More information about the Catalyst mailing list