Hi,
I'm trying to pull out all my DBIx::Class connection details for my
Catalyst application, from a .yml config file, something like:
---
model: MyCatPackage::Cat::Model::MyPackageDB
schema_class: MyPackage::Schema
connect_info:
dsn: DBI:mysql:database=somedb;host=somehost
username: user1
password: password1
Is it possible to access these details from the application's Model
libraries? If so, what is the recommended way?
I only seem to be able to access '__PACKAGE__->config->{schema_class}'
(for example), via the catalyst application's main library, and NOT from
within any of the Model libraries.
Thanks,
Anthony
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/