[Catalyst] YAML vs. *
Adam Jacob
adam at stalecoffee.org
Fri Jun 9 22:37:28 CEST 2006
On Jun 9, 2006, at 8:27 AM, 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.
Yep.
> Config::General -
>
> <View TT>
> INCLUDE_PATH __path_to('root')__
> </View>
Config::General rocks. It handles things like includes, heredoc
statements, and variable interpolation.
> JSON -
>
> {
> 'View::TT': {
> INCLUDE_PATH: "__path_to('root')__"
> }
> }
JSON is just a subset of YAML, so blah.
Adam
More information about the Catalyst
mailing list