Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

Apache Reload -- Subroutine xx redefined

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


david at vendingmexico

Jan 24, 2005, 12:07 PM

Post #1 of 2 (401 views)
Permalink
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.


david at vendingmexico

Jan 26, 2005, 3:11 PM

Post #2 of 2 (332 views)
Permalink
Re: Apache Reload -- Subroutine xx redefined [In reply to]

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.

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.