[Catalyst] YAML vs. *

Brian Cassidy brian.cassidy at nald.ca
Fri Jun 9 19:23:04 CEST 2006


> -----Original Message-----
> Anyway, I'm starting to think that the best way to handle this issue
> would be to make ConfigLoader smart enough to load anything you throw
> at it, maybe with some filename/extension conventions. So, if it finds
> "myapp.yml" that's what it loads, the same for "myapp.xml",
> "myapp.ini", and so on.

In fact, it already does :)

It's just that the /default/ config file format used (in catalyst.pl) is
YAML. There's nothing stopping anyone from switching to one of its other
supported formats (XML, JSON, INI, Config::General or even regular Perl) --
or even using a mix of the formats.
 
-Brian





More information about the Catalyst mailing list