Re: Relative path problem

2002-12-26 Thread Stas Bekman
Andrzej Jan Taramina wrote: Steve: In my index.pl, I call another perl file using a reletive path, like ../lib/work.pm. But I found this file cannot be found. Could someone tell me what is going on or give me some directions? Since your script is compiled under mod_perl ahead of time, and

Re: Relative path problem

2002-12-26 Thread Andrzej Jan Taramina
Stas: Are you talking about registry scripts or handlers? Because the former do change into the script's dir. CGI script using ModPerl::Registry and mp2. And that doesn't seem to workat least not using the HTML::Template module, which under mp2 does not find the requested template,

Re: Relative path problem

2002-12-26 Thread Stas Bekman
Andrzej Jan Taramina wrote: Stas: Are you talking about registry scripts or handlers? Because the former do change into the script's dir. CGI script using ModPerl::Registry and mp2. And that doesn't seem to workat least not using the HTML::Template module, which under mp2 does not

Re: Relative path problem

2002-12-25 Thread Andrzej Jan Taramina
Steve: In my index.pl, I call another perl file using a reletive path, like ../lib/work.pm. But I found this file cannot be found. Could someone tell me what is going on or give me some directions? Since your script is compiled under mod_perl ahead of time, and things like working

Relative path problem

2002-12-24 Thread Steve Li
I installed the Win32 mod_perl 1.0 in Windows XP Professional just to see how it works. This distribution contains Perl 5.6.1 and Apache_1.3.27, together with mod_perl-1.27. In my index.pl, I call another perl file using a reletive path, like ../lib/work.pm. But I found this file cannot be