[cgiapp] Read ConfigAuto file from legacy application

Alexandr Ciornii alexchorny at gmail.com
Thu Aug 28 14:30:28 EDT 2008


Hi.

2008/8/28 Mike Tonks <fluffymike at googlemail.com>:

> I have some settings in a 'perl' syntax config file, using
> CGI::Application::Plugin::ConfigAuto (qw/cfg/);
>
> I'd really like to access this from some legacy cgi scripts, but can't
> work out how.

CGI::Application::Plugin::ConfigAuto uses Config::Auto, you can use
it. Or you can simply execute your file using 'do'.

-- 
Alexandr Ciornii, http://chorny.net


More information about the cgiapp mailing list