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

Re: [cgiapp] C:A and mod_perl2


On Wed, 27 Jul 2005, Cees Hek <suppressed> wrote:
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();

Yep, works OK now. Many thanks.
--
Richard Jones
Leeds, UK
mailto:suppressed

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