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 . "\n

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 fe

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: > >- > > SetHandler perl-script > PerlModule Apache::Registry > PerlHandler Apache::Registry::handler > PerlModule Apache::DBI > PerlInitHandler Apache::StatINC > Op