Re: Subroutine xxx redefined

2006-10-24 Thread Perrin Harkins
On Tue, 2006-10-24 at 09:43 +0200, Bart van Kuik wrote: > The before-mentioned piece of script gives the following warning: > Subroutine testsub redefined at /home/bartvk/public_html/tscu/test.pl > line 7. The same every time? That's very strange. I'd start adding some debug statements to Apach

Re: Subroutine xxx redefined

2006-10-24 Thread Bart van Kuik
Perrin Harkins wrote: Anyway, it happens with every reload of the page except the first load (after the webserver is restarted). Is this something typical of using "PerlHandler Apache::PerlRun"? Are you doing something with virtual hosts? No. Apache::PerlRun is supposed to clear out the who

Re: Subroutine xxx redefined

2006-10-23 Thread Perrin Harkins
On Mon, 2006-10-23 at 12:21 +0200, Bart van Kuik wrote: > That's not it. I tested it with one script with one subroutine, not > 'use'ing any modules: > > --- > #!/usr/bin/perl > use strict; > use warnings; > > print "Content-type: text/plain\n\n"; > > sub testsub { > print "tes

Re: Subroutine xxx redefined

2006-10-23 Thread Bart van Kuik
I'm using Apache::PerlRun to run my Perl scripts. I'm getting the following error: Subroutine xxx redefined at /path/to/sirq.pl line 100. What it usually means is that you are requiring modules which use the same subroutine names and they're clashing. That's not it. I teste

Re: Subroutine xxx redefined

2006-10-20 Thread Perrin Harkins
On Fri, 2006-10-20 at 19:00 +0200, Bart van Kuik wrote: > I'm using Apache::PerlRun to run my Perl scripts. I'm getting the > following error: > > Subroutine xxx redefined at /path/to/sirq.pl line 100. > Subroutine xxy redefined at /path/to/sirq.pl line 200. > Subro

Re: Subroutine xxx redefined

2006-10-20 Thread Adriano Ferreira
On 10/20/06, Bart van Kuik <[EMAIL PROTECTED]> wrote: Hi list, I'm using Apache::PerlRun to run my Perl scripts. I'm getting the following error: Subroutine xxx redefined at /path/to/sirq.pl line 100. Subroutine xxy redefined at /path/to/sirq.pl line 200. Subroutine xxz redef

Subroutine xxx redefined

2006-10-20 Thread Bart van Kuik
Hi list, I'm using Apache::PerlRun to run my Perl scripts. I'm getting the following error: Subroutine xxx redefined at /path/to/sirq.pl line 100. Subroutine xxy redefined at /path/to/sirq.pl line 200. Subroutine xxz redefined at /path/to/sirq.pl line 300. I can't find in the