Re: [Catalyst] YAML vs. *

2006-06-12 Thread Carl Franks
On 09/06/06, Matt S Trout [EMAIL PROTECTED] wrote: Carl Franks wrote: 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

Re: [Catalyst] YAML vs. *

2006-06-10 Thread John Napiorkowski
Hi, I'm getting this feeling this debate is winding down with the end of the weekend, but just some last two cents; I would seriously prefer anything that is not reliant on spaces, tabs or other semi-invisible characters for syntax purposes. Yes, you can set your text editor to help smooth over

Re: [Catalyst] YAML vs. *

2006-06-09 Thread John Siracusa
On 6/9/06, Andrew Ford [EMAIL PROTECTED] wrote: I think a major problems is that often configuration file contents are not designed in anyway; they just evolve as a serialization of the information that the programmer happens to need to initialize the application (and often this will not be

Re: [Catalyst] YAML vs. *

2006-06-09 Thread Carl Franks
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

Re: [Catalyst] YAML vs. *

2006-06-09 Thread Matt S Trout
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

Re: [Catalyst] YAML vs. *

2006-06-09 Thread Matt S Trout
Kieren Diment wrote: I've read most of this thread, and my main concern is this. With YAML you can do this: use YAML; my $href = { foo = 'bar' baz = 'quoxx' $fnord = [EMAIL PROTECTED] } print Dump $href; and get a YAML dump of what the config datastructure is supposed to look

Re: [Catalyst] YAML vs. *

2006-06-09 Thread Kieren Diment
On 10/06/06, Matt S Trout [EMAIL PROTECTED] wrote: Kieren Diment wrote: I've read most of this thread, and my main concern is this. With YAML you can do this: use YAML; my $href = "">foo = 'bar'baz = 'quoxx' $fnord = [EMAIL PROTECTED] } print Dump $href; and get a YAML dump of what the config

Re: [Catalyst] YAML vs. *

2006-06-09 Thread Matt S Trout
Kiki wrote: Matt S Trout wrote: I love YAML as a serialisation format for data transfer, but so far as stuff like config files that are designed for human write / machine read, I personally think it sucks. Massively. And for hysterical raisins it's currently our default config file