Re: subroutine redefined

2003-06-15 Thread Stas Bekman
Batara Kesuma wrote: Hi, I tried using ModPerl::Registry with this piece of CGI code: #!/usr/bin/perl -w use CGI; use strict; my $cgi = CGI::-new; print $cgi-header; our $count = 0; for (1 .. 5) { increase_count(); } sub increase_count { our $count; $count++; print $count .

subroutine redefined

2003-06-14 Thread Batara Kesuma
Hi, I tried using ModPerl::Registry with this piece of CGI code: #!/usr/bin/perl -w use CGI; use strict; my $cgi = CGI::-new; print $cgi-header; our $count = 0; for (1 .. 5) { increase_count(); } sub increase_count { our $count; $count++; print $count . br\n; } It gave me this

Re: subroutine redefined

2003-06-14 Thread Batara Kesuma
On Sat, 14 Jun 2003 16:40:15 +0900 Batara Kesuma [EMAIL PROTECTED] wrote: What is the problem? Ok, I just figured out that the error went away if I restarted the httpd server.

Re: Subroutine redefined errors at startup

2000-07-19 Thread Carl Hansen
On Tue, Jul 18, 2000 at 07:10:07PM -0700, Jim Serio wrote: I'm running Perl 5.6 and recently re-compiled Apache 1.3.12 and mod_perl 1.24 and I'm not getting various redefined errors at startup that I never got before. I've also made no changes to my startup file or httpd.conf. Here's a few

Re: Subroutine redefined errors at startup

2000-07-18 Thread Ken Williams
[EMAIL PROTECTED] (Jim Serio) wrote: Here's the cgi-perl section of httpd.conf: - Location /cgi-perl/ SetHandler perl-script PerlModule Apache::Registry PerlHandler Apache::Registry::handler PerlModule Apache::DBI PerlInitHandler Apache::StatINC

Subroutine redefined?

2000-06-04 Thread Schuyler D. Erle
Greetings. I'm running Apache/1.3.12 with mod_perl/1.24 and mod_ssl/2.6.4 on a Debian system. (I know mod_ssl and mod_perl on the same server is begging for trouble, but that's the way the site was designed, well before I got there...) We recently recompiled the server with mod_perl's

RegistryLoader causes subroutine redefined errors on import?

1999-10-19 Thread Matt Arnold
I know this topic has been discussed to death, but I think I can add something new. :-) Upon using Apache::RegistryLoader, I noticed my error logs started filling up with the dreaded "subroutine redefined" error. These errors occur at the moment my scripts scripts are preloaded us

Re: RegistryLoader causes subroutine redefined errors on import?

1999-10-19 Thread Stas Bekman
I know this topic has been discussed to death, but I think I can add something new. :-) Upon using Apache::RegistryLoader, I noticed my error logs started filling up with the dreaded "subroutine redefined" error. These errors occur at the moment my scripts scripts are prelo