in reply to Using FindBin or CWD from within a CGI program

Apache sets the the current directory to "/", so even though you say your snippet isn't working, it is.

Maybe you want the directory in which the script resides (which is unrelated to the current directory.) If so,FindBin should be of use.

Replies are listed 'Best First'.
Re^2: Getting CWD from within a CGI program
by Aristotle (Chancellor) on Nov 21, 2005 at 17:13 UTC