[cgiapp] Read ConfigAuto file from legacy application

Mike Tonks fluffymike at googlemail.com
Thu Aug 28 12:50:25 EDT 2008


Hi folks,

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.

Anyone know how?

Cheers for any help - here's a snippet from my config file:

#!/usr/bin/perl

# website URL
$CFG{URL} = 'http://mark.stosberg.com/';

# country
$CFG{CountryCode} = 'GB';

\%CFG;


Regards,

mike


More information about the cgiapp mailing list