Re: 2. ActivePerl vs mod_perl: unable to open a file

2005-11-08 Thread Perrin Harkins
Plymouth Rock wrote: At using ActivePerl5.8.7 there isn't the problem with file opening, but at using mod_perl2.0.2 it is: print "Content-type: text/html\n\n"; $path = "textdata.txt"; You are using a relative path. Use an absolute path, or figure out the path based on the location of the cu

2. ActivePerl vs mod_perl: unable to open a file

2005-11-08 Thread Plymouth Rock
At using ActivePerl5.8.7 there isn't the problem with file opening, but at using mod_perl2.0.2 it is: print "Content-type: text/html\n\n"; $path = "textdata.txt"; open FH, $path; while() {print} close FH Why and how to solve the problem? Thanx.