CGI-Scriptpaths

 view release on metacpan or  search on metacpan

lib/CGI/Scriptpaths.pm  view on Meta::CPAN

326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
returns undef if none
 
=head2 abs_cgibin()
 
tries to find path to cgi-bin
may warn and return undef
 
=head2 DOCUMENT_ROOT()
 
assumes this is a website and returns document root
if $ENV{DOCUMENT_ROOT} is not set, it tries to test and guess for it
on failure returns undef
 
=head2 script_rel_path()
 
returns script's relative path to DOCUMENT_ROOT()
warns and returns undef on failure
 
=head2 script_rel_loc()
 
returns the path of the directory the script resides in, relative to DOCUMENT_ROOT()



( run in 0.280 second using v1.01-cache-2.11-cpan-87723dcf8b7 )