Perrin Harkins wrote on 11/11/2003 1:11 PM: > (Sorry, I didn't see your reply until now.) > > On Thu, 2003-11-06 at 19:04, Joachim Feise wrote: > >>> Are you usng PerlFreshRestart? >> >>Yes. > > > That's the reason you're having this problem. It's probably a bad idea > to use that. What it does is empty %INC so that a "use CGI" will > recompile the module. That causes problems with constants, since Perl > has already optimized them away. In this case, the constant isn't > changing so it isn't really a problem, but the warning is annoying. You > can turn it off by adding this right before the "use CGI" call: > > no warnings qw(redefine); > > Anyway, I recommend turning off PerlFreshRestart.
Thanks. That helped. I appreciate the explanation. Cheers, -Joe -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html