[Catalyst] Clean access to config from outside Cat?

Peter Edwards peter at dragonstaff.com
Thu Jun 18 12:51:28 GMT 2009


2009/6/18 Jesse Sheidlower <jester at panix.com>

> Basically, I have a standard Catalyst config file, where
> the database connection section looks like this:
>


> I'd like to get access to this information from a script
> running outside of Catalyst. How can I do this cleanly?
>

Hi Jesse, I wrote an advent calendar article on this (bit out of date, but
should do)

http://www.catalystframework.org/calendar/2007/14

on CPAN see

http://search.cpan.org/perldoc?Config::JFDI

Cheers,
Peter
http://perl.dragonstaff.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090618/61e82=
14f/attachment.htm


More information about the Catalyst mailing list