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 . "\n
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.
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 . "\n";
}
It gave me this
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 fe
[EMAIL PROTECTED] (Jim Serio) wrote:
>Here's the cgi-perl section of httpd.conf:
>
>-
>
> SetHandler perl-script
> PerlModule Apache::Registry
> PerlHandler Apache::Registry::handler
> PerlModule Apache::DBI
> PerlInitHandler Apache::StatINC
> Op
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 of the
errors:
-
Subroutine handler redefined at
/usr/loca
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 EVERYTHING
> 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 s
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