RE: Problem with relative path

2006-08-07 Thread Gerald Richter
Hi, > I have EmbPerl2.0r3, Apache2, mod_perl2 1.99 (Debian Sarge) > > /foo/index.epl: > [- > open F, "/foo/example_file.txt"; # <-- THIS WORKING > open F, "./example_file.txt"; # <-- THIS NOT WORKING, WHY ? > -] > For performance reasons, Embperl 2 does not change the current directory.

Problem with relative path

2006-08-07 Thread Marek Matis
Hi, I have EmbPerl2.0r3, Apache2, mod_perl2 1.99 (Debian Sarge) /foo/index.epl: [-   open F, "/foo/example_file.txt";   # <-- THIS WORKING   open F, "./example_file.txt";  # <-- THIS NOT WORKING, WHY ? -] Thanks Marek