[Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

Brian Cassidy brian.cassidy at nald.ca
Thu Sep 28 16:15:26 CEST 2006

Jon Warbrick wrote:
> Can a Catalyst::Model::DBIC::Schema model be configured from a YAML 
> file via Catalyst::Plugin::Config::YAML? If so, how? Apologies if it's in 
> the documentation somewhere, but if so I've yet to find it...
> Jon.
package MyApp;

use Catalyst qw( ConfigLoader );

# ...


in myapp.yml

  schema_class: MySchema
    - dbi:blahblah
    - username
    - password

More information about the Catalyst mailing list