[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subroutine xxx redefined


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.
> Subroutine xxz redefined at /path/to/sirq.pl line 300.

You probably have the same package name in multiple scripts with the
same sub names.  See
http://perl.apache.org/docs/1.0/guide/porting.html#Name_collisions_with_Modules_and_libs

- Perrin


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.