> From: "Richard L. Goerwitz" <[EMAIL PROTECTED]> > Date: Wed, 19 Jan 2000 11:44:58 -0500 > Subject: Problems w/ CGI under mod_perl > To: [EMAIL PROTECTED] > > Problem I am noticing emanates from CGI->new(). Here's the section of > code: > > if ($MOD_PERL) { > Apache->request->register_cleanup(\&CGI::_reset_globals); > undef $NPH; > } > > The error I'm seeing is (taken from my Apache log files): > > Wed Jan 19 11:33:45 2000] [error] Can't call method "register_cleanup" on an > undefined value at /usr/lib/perl5/5.00503/CGI.pm line 263. I subscribed to this list because I was seeing the exact same problem. :):) But before posting, I did a search of one of the archives, and after a lot of reading, I found a suggestion from Doug M (author of mod_perl) to add this line to my .conf file: PerlPostReadRequestHandler 'sub { Apache->request(shift) }' I did that, and since then, the problem has gone away. :):) David McCabe Unix SysAdmin/Peon Le Groupe Videotron [EMAIL PROTECTED] (514) 380 4433 OK, so what's the speed of dark? Steven Wright