[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Apache Reload -- Subroutine xx redefined
From:       David Romero <david () vendingmexico ! com>
Date:       2005-01-26 23:11:46
Message-ID: 41F823B2.9030000 () vendingmexico ! com
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic