You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by David Romero <da...@vendingmexico.com> on 2005/01/24 21:07:19 UTC

Apache Reload -- Subroutine xx redefined

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.


Re: Apache Reload -- Subroutine xx redefined

Posted by David Romero <da...@vendingmexico.com>.
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.