in reply to how do I learn about Perl CGI programming?

I don't know how it's done in other server/OS configurations, but with Apache/Unix, the CGI script can inspect the environment variable DOCUMENT_ROOT to get a physical path. From there one can get a physical path to /path/to/stuff as /path/to/docroot/path/to/stuff.

the lowliest monk