[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Re: PARAMS and CAP::ConfigAuto (Solved)


On 2006-02-20, Jonathan Mangin <suppressed> wrote:
> Obvious to nearly everyone, I'd guess.
>
> If using this form in the instance script:
>
>> > > my $webapp = App1->new(PARAMS => {cfg_file => 'config/app1.conf'});
>
> One must do approx. this in application module:
>
> $self->cfg_file($self->param('cfg_file'));

I don't think this second step is required. I think if you upgrade to 1.20
or newer, it won't be necessary.

    Mark


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.