Re: [cgiapp] PARAMS and CAP::ConfigAuto

2006-02-19 Thread Jonathan Mangin
> > 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

RE: [cgiapp] PARAMS and CAP::ConfigAuto

2006-02-19 Thread Dan Horne
> -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

[cgiapp] PARAMS and CAP::ConfigAuto

2006-02-19 Thread Jonathan Mangin
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