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

Re: [cgiapp] C:A and mod_perl2


On 7/27/05, RA Jones <suppressed> wrote:
> sub handler : method {
>    my ($class, $r) = @_;
> 
>    my $self = $class->new(
>     PARAMS => {
>      't0' => [gettimeofday],
>      # app_url changes according to whether called via mod_cgi, mp
> registry or mp handler
>      'app_url' => 'http://127.0.0.1/hilis',
>     }
>    );
>    $class->run();
-----^^^^^^^^^ Change that line to:
$self->run();

Cheers,

Cees

---------------------------------------------------------------------
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.