Re: CGI.pm broken with Apache/mod_perl/warnings? (was Re: XHTML_DTDredefined?)

2000-05-25 Thread Perrin Harkins

On 25 May 2000, Randal L. Schwartz wrote:
> I got no "no warnings".  this is still 5.5.3 :)

There's always the time-honored

{
  local $^W;
}

- Perrin




Re: CGI.pm broken with Apache/mod_perl/warnings? (was Re: XHTML_DTDredefined?)

2000-05-25 Thread Doug MacEachern

On 25 May 2000, Randal L. Schwartz wrote:
 
> Yeah, it's CGI.pm alright.  So do I complain to Lincoln to fix it, or
> is it just a synergy thing between mod_perl, Apache, and CGI.pm that I'll
> have to live with?

are you re-loading CGI.pm?  that's the only way this warning can be
triggered, from what i can see.  in which case, this wouldn't be a bug in
CGI.pm, the re-loader simply needs:
{
no warnings;
}