Based on the examples in "Writing Apache Modules with Perl and C" I'm
trying out the use of constants in a CGI program for
Apache::Registry. At the moment the program is only running under
Apache::PerlRun
The problem is its filling up my log file with non-fatal, but space
consuming message.
In my program:
use constant ADMIN_EMAIL => q{<a
href='mailto:[EMAIL PROTECTED]'>mailto:[EMAIL PROTECTED]</a>
};
In error_log:
[Fri Jun 2 23:39:33 2000] reg.cgi: Constant subroutine ADMIN_EMAIL
redefined at /usr/lib/perl5/5.00503/constant.pm line 175.
Is this just bad programming on my part and/or is it something I can
change? I could just switch to use vars I spose... :)
Thanks!
- mt