If you put perldigger.pl in your cgi-bin, it will tell you all sorts of things about your server, including document root path. It's available for free download from many places.
I don't recommend leaving it on the server after you get the info. It's too easy for others to find and use against you.