in reply to Opening documents in CGI
I'm pretty sure pretty much every cgi tutorial covers this, its current working directory
See Tutorials -> CGI Programming -> CGI Help Guide , Troubleshooting Perl CGI scripts, DebugCGI ,