Hello,

I had problem with the 'use' statement. It did not take the
'correct' search path:

My document structure looked like this:

.../test/foo.epl
.../test/Bar.pm
.../production/foo.epl
.../production/Bar.pm

foo.epl contained a 'use Bar.pm' statement. I expected 'test/foo.epl'
took 'test/Bar.pm', and 'production/foo.epl' 
took 'production/Bar.pm', but it was not the case. 

'test/foo.epl' arbitrary took 'production/Bar.pm' or 'test/Bar.pm' 
as it saw convenient. The same thing happened to 'production/foo.epl'. 

It seems to me this has something todo with caching as foo.epl load the
correct Bar.pm after I restart the httpd. But after
a few requests they start messing up.

What should I do to fix this problem?

Thanks in advance.
Nhan.


P.S: I am using Embperl 1.2.0 and mod_perl 1.21-2.


-- 
+ ----------------------------------------------------------+
| Nhan H. Trinh                 Phone: (972) 661 3292 x. 40 |
| ETC Inc.                      email: [EMAIL PROTECTED]   | 
+ ----------------------------------------------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to