"Ouimet, Pierre" wrote:
> hi!
>
> I have that (by exemple ) :
>
> package pack1.pm
>
> sub get_data {
> # ...
> }
>
> package pack2.pm
>
> sub get_data {
> # same name, but doing other thing
> }
>
> I don't use export and I have conflict with this 2 package in log file
> (because it detect same function)
>
> In modperl I can't have same function ? That's impossible ! I can't
> beleive that!
>
> Is it possible to allow it ? In apache config or... !?
>
> Tanks a lot in advance! :)
>
> bye
>
> Finder
It sounds like you're not actually using the package statement: pack1.pm
should have a line at the beginning of the file saying 'package pack1;'
and pack2.pm should have a line saying 'package pack2;'
I'm only guessing what the problem is here, as you don't state exactly
what the error message is.
Steve
--
Steve Piner
Web Applications Developer
Marketview Limited
http://www.marketview.co.nz