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 the script
3.  It is possible that the script could be called using SSL or not.
4.  It is possible that the SSL could be a site certificate or a shared
server certificate.

I know that I can use File::Find as such -

find(\&wanted, $root_dir);

But how do I find $root_dir reliably?

Any help in this matter will be greatly appreciated.

Peace -
Ron Goral



-- 
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