[Catalyst] Hair-pulling over YAML config

Matt S Trout dbix-class at trout.me.uk
Mon Jan 29 16:31:52 GMT 2007


On 29 Jan 2007, at 16:19, Carl Vincent wrote:

> Hi everyone,
>
> I've just spent an inordinate amount of time debugging a problem which
> was actually caused by my Yaml config file not parsing properly.

Which is why I don't use YAML. Try JSON or COnfig::General for sanity.

> I discovered that when the file is loaded in Config::Any, if  
> there's an
> error with the parsing it just skips it and doesn't bother to alert
> anyone.

Patches should be diff -ur, really.

And you seem to have missed off the test cases as well

-- 
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for  
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for  
details.
+ Help us build a better perl ORM: http://dbix- 
class.shadowcatsystems.co.uk/ +





More information about the Catalyst mailing list