Try change the codes to:

sub handler {

    my $r = shift;
    ...


-----Original Message-----
From: Jordan McLain <[EMAIL PROTECTED]>
Sent: Aug 22, 2007 9:26 AM
To: mod_perl
Subject: Internal Server Error

Hello,

I have a module that will fail every once in a while with the error_log message:

Can't call method "send_http_header" on an undefined value at /path/to/module/Name.pm

The handler method starts out with:

sub handler ($$) {
        my ($class, $r) = @_;



--
Jeff Pang - [EMAIL PROTECTED]
http://home.arcor.de/jeffpang/

Reply via email to