[Catalyst] myapp_local.yml gets ignored

Jochen Luig jochen.luig at skytel.de
Wed Jun 17 15:28:29 GMT 2009


On Wed, 2009-06-17 at 16:13 +0100, Carl Vincent wrote:

> Are you sure that your config files are parsing correctly? I've had problems in the past (admittedly with YAML config files) with the files being silently ignored when there's a syntax error in them. This may be handled better in the latest versions.
> 

As mine is written via the DumpFile function of the YAML module, I think
it will parse correctly. Anyway, here's a sample myapp_local.yml

---
MyApp::Model::MyAppDB:
  connect_info:
    - DBI:SQLite:/tmp/8UwA7IjIPZ/db

Looks OK to me.


@Ben: Sorry, I found your thread only after I had written my message.
But yes, looks like it's the same problem.

Regards,

Jochen




More information about the Catalyst mailing list