I assume you are running your scripts under Apache::Registry.
Apache::Registry checks the modification time of your script on every
request and will recompile (via eval) it if it has changed.  However,
nothing removes the old symbols from the previous compilation, so Perl
generates a warning.  For scripts, this warning is usually harmless.  You
can turn it off with the warnings pragma (Perl >= 5.6.0):

  no warnings qw(redefine);

--
Kyle Oppenheim
Tellme Networks, Inc.
http://www.tellme.com


> -----Original Message-----
> From: Boex,Matthew W. [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 31, 2002 10:43 AM
> To: [EMAIL PROTECTED]
> Subject: mod_perl error
>
>
>
> can i ignore this error?  the script seems to work fine...
>
> Subroutine print_get_num redefined at /var/www/perl/cancel.cgi line 19.
> Subroutine print_gonna_del redefined at /var/www/perl/cancel.cgi line 27.
> Subroutine print_do_nothing redefined at /var/www/perl/cancel.cgi line 74.
> Subroutine print_do_del redefined at /var/www/fosbow/cancel.cgi line 83.
> Subroutine error_handler redefined at /var/www/fosbow/cancel.cgi line 156.
>
> matt
>
>

Reply via email to