Andrey A. Kudrin wrote:
Hello Stas,

Wednesday, November 05, 2003, 3:11:21 PM, you wrote:

SB> Is it possible that you import functions with the same name from different
SB> modules into the same script? If not, you really need to show us some *very* SB> short examples of your code so we can get the idea what your problem is.


Substituted functions is not in modules, but in scripts.
[...]
> So sometimes when I call CMS.cgi I can see result of print_login of
> chat.cgi and and vice versa.

Hmm, I haven't see such a case before. Is it possible that print_login is defined in some package as well, and when you do an import->(:all) it gets imported overriding the local sub?

We need to see a simple test case to try to reproduce the problem. You should be able to remove all irrelevant code from these two scripts (like all the used modules) and still see the problem. If you don't then the problem comes from one of the used modules.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to