David Romero wrote:
Hi all.
i have a problem with apache reload module,
when im restart apache all works fine,
but on frist change on my module apache reload return an error
this is my error
[Mon Jan 24 13:00:36 2005] [error] [client 127.0.0.1] Subroutine
display redefined at /usr/local/unicon
io/Unicornio/Politica/Categorias.pm line 24.\nCompilation failed in
require at /usr/lib/perl5/vendor_pe
rl/5.8.3/i386-linux-thread-multi/Apache/Reload.pm line 151.\n,
referer: http://vending.homeip.net/unico rnio/Politica/Categorias
[Mon Jan 24 13:00:36 2005] [error] [client 127.0.0.1] Subroutine
display redefined at /usr/local/unicon
io/Unicornio/Politica/Categorias.pm line 24.\nCompilation failed in
require at /usr/lib/perl5/vendor_pe
rl/5.8.3/i386-linux-thread-multi/Apache/Reload.pm line 151.\n
my config
PerlModule Apache::Reload
PerlInitHandler Apache::Reload
PerlSetVar ReloadAll Off
whit
use Apache::Reload; # on my module
Thanks
David Romero
Chihuahua, Chih.
After some checks i detect my problem, the problem is whit the
use warnings FATAL => 'all';
pragma.
the question is....
which is the way that i have to take? , to use Apache::Reload whith
use warnings FATAL => 'all';
pragma on modules and handlers?
David Romero
Chihuahua, Chih.