Hi, I hope Im asking this correctly.

I have a full-blown Catalyst application that connects to many DBIC schemas 
with information
stored in the conf file, as per usual C::M::DBIC::Schema practices, and I 
access them with
again the usual practices, $c->model('Foo')->search() etc.

I need to get these schemas from outside the Cat application, e.g. to run cron 
scripts, etc.
I was going to write a utility method to parse the config file, connect to the 
database, etc.,
but I was wondering that if C::M::DBIC::Schema already does this, is there a 
way I can access
this from _outside_ of my Catalyst app, i.e. something I can call to return 
this from a script?



List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to