Use the %ENV hash
T

----- Original Message ----- 
From: "Ron Goral" <[EMAIL PROTECTED]>
To: "Perl Beginners - CGI" <[EMAIL PROTECTED]>
Sent: Wednesday, July 21, 2004 3:00 PM
Subject: Locating the root directory to find files on a web site


> Howdy -
>
> I have a module that needs to locate the root directory in order to search
> for files or directories on a web site.  The difficulty is that I cannot
be
> certain of a couple things -
>
> 1.  I don't know where the script will be installed except that it will be
> in the cgi-bin
> 2.  I don't know where the file or directory to be located will be
relative


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to