perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <per...@elem.com>
Subject Re: [mp1] intermittant pnotes error
Date Mon, 13 Mar 2006 20:08:09 GMT
On Mon, 2006-03-13 at 11:00 -0500, Adam Prime x443 wrote:
> The code that causes this error (in this example anyway, it has
> happened on practically every package) is this:
> 
> sub handler{
>     my $r = shift;
>     my $req = Apache::Request->instance($r);
>     .....
> }

Why don't you put some warnings in to log when $r is not an Apache
object?  Also, how do you call this handler?  Is it set up to be called
as a method sometimes?  Do you ever prototype it wit ($$)?  Show the
part of your conf where you set it up.

- Perrin


Mime
View raw message