in reply to Re: Getting CWD from within a CGI program
in thread Using FindBin or CWD from within a CGI program

The output is still: "Current dir is: /". I am running the script frm my DocumentRoot either. I tried using FindBin as well, the following has the same result:
use FindBin; print "\nBinary is: $FindBin::Bin \n";
It works fine when run from the command line.

“There are no cats in America, and the streets are paved with cheese.” -Fievel Mousekewitz