> > Trying to follow the docs in CAP::ConfigAuto moving cfg_file
> > definition to the instance script:
> >
> > #!/usr/bin/perl -wT
> > use lib qw(.);
> > use App1;
> > my $webapp = App1->new(PARAMS => {cfg_file => 'config/app1.conf'});
> > $webapp->run();
> >
> > And in Base.pm:
> >
> > use CGI
> -Original Message-
> From: Jonathan Mangin
> Sent: Monday, 20 February 2006 5:21 a.m.
> To: cgiapp@lists.erlbaum.net
> Subject: [cgiapp] PARAMS and CAP::ConfigAuto
>
> Trying to follow the docs in CAP::ConfigAuto moving cfg_file
> definition to the instance script:
>
> #!/usr/bin/per
Trying to follow the docs in CAP::ConfigAuto moving cfg_file
definition to the instance script:
#!/usr/bin/perl -wT
use lib qw(.);
use App1;
my $webapp = App1->new(PARAMS => {cfg_file => 'config/app1.conf'});
$webapp->run();
And in Base.pm:
use CGI::Application::Plugin::ConfigAuto (qw/cfg cfg_fi