[Catalyst] schema

Octavian Rasnita orasnita at gmail.com
Mon Dec 25 06:06:29 GMT 2006


From: "Robert 'phaylon' Sedlacek" <rs at 474.at>

> Umm, why don't you just have two config files with different DSNs to your
> schema? During development, my config has a "dbi:SQLite:..." DSN in it,
> and the production server uses a postgres one.

Finally I think I will need to use such a config file, although the yaml 
format is not very friendly. I have fought a little with it, because the 
config file was saved with a 3-chars BOM, and the whole application refused 
starting, with an error message that wasn't very clear.
I haven't used YAML until now, and I didn't know that the UTF-8 encoded 
config file must not have a BOM.

Octavian




More information about the Catalyst mailing list