Re: strange behavor

2003-11-10 Thread Stas Bekman
Andrey A. Kudrin wrote: Hello Perrin, Friday, November 07, 2003, 12:23:59 AM, you wrote: PH> There is nothing in your sample code here that would cause one sub to be PH> called in place of another. How do you know that the other print_login PH> is being called? Because I see the result page. All

Re: Re[4]: strange behavor

2003-11-10 Thread Perrin Harkins
On Mon, 2003-11-10 at 14:12, Andrey A. Kudrin wrote: > PH> There is nothing in your sample code here that would cause one sub to be > PH> called in place of another. How do you know that the other print_login > PH> is being called? > > Because I see the result page. All print_login prints differe

Re[4]: strange behavor

2003-11-10 Thread Andrey A. Kudrin
Hello Perrin, Friday, November 07, 2003, 12:23:59 AM, you wrote: PH> There is nothing in your sample code here that would cause one sub to be PH> called in place of another. How do you know that the other print_login PH> is being called? Because I see the result page. All print_login prints dif

Re[2]: strange behavor

2003-11-10 Thread Andrey A. Kudrin
Hello Stas, Thursday, November 06, 2003, 4:11:41 PM, you wrote: SB> Hmm, I haven't see such a case before. Is it possible that print_login is SB> defined in some package as well, and when you do an import->(:all) it gets SB> imported overriding the local sub? No, there is no print_login in any

Re: Re[2]: strange behavor

2003-11-06 Thread Perrin Harkins
On Wed, 2003-11-05 at 04:43, Andrey A. Kudrin wrote: > So sometimes when I call CMS.cgi I can see result of print_login of > chat.cgi and and vice versa. There is nothing in your sample code here that would cause one sub to be called in place of another. How do you know that the other print_login

Re: strange behavor

2003-11-06 Thread Stas Bekman
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 t

Re[3]: strange behavor

2003-11-06 Thread Andrey A. Kudrin
Hello! 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. AAK> Substituted functions is not in modules, but

Re[2]: strange behavor

2003-11-05 Thread Andrey A. Kudrin
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 proble

Re: strange behavor

2003-11-05 Thread Stas Bekman
Andrey A. Kudrin wrote: Hello Stas, Wednesday, November 05, 2003, 4:54:01 AM, you wrote: I have a mod_perl driven website and CMS for this site running under PerlRun. Site and CMS located in different direcories and use different modules, but have subroutines that have the same names. From some

Re[2]: strange behavor

2003-11-05 Thread Andrey A. Kudrin
Hello Stas, Wednesday, November 05, 2003, 4:54:01 AM, you wrote: >> I have a mod_perl driven website and CMS for this site running under >> PerlRun. Site and CMS located in different direcories and use >> different modules, but have subroutines that have the same names. >>>From some moment site b

Re: strange behavor

2003-11-04 Thread Stas Bekman
Andrey A. Kudrin wrote: Hello modperl, I have a mod_perl driven website and CMS for this site running under PerlRun. Site and CMS located in different direcories and use different modules, but have subroutines that have the same names. From some moment site become to use subroutines from CMS, what

strange behavor

2003-11-04 Thread Andrey A. Kudrin
Hello modperl, I have a mod_perl driven website and CMS for this site running under PerlRun. Site and CMS located in different direcories and use different modules, but have subroutines that have the same names. >From some moment site become to use subroutines from CMS, what's wrong? ---