in reply to Relative path in test file

Consider these from CGI::Simple
$q = CGI::Simple->new; $full_url = $q->url(); $full_url = $q->url(-full=>1); $relative_url = $q->url(-relative=>1); $absolute_url = $q->url(-absolute=>1); $url_with_path = $q->url(-path_info=>1); $url_with_path_and_query = $q->url(-path_info=>1,-query=>1); $netloc = $q->url(-base => 1);

Replies are listed 'Best First'.
Re^2: Relative path in test file
by haukex (Archbishop) on Jul 09, 2022 at 07:29 UTC

    Sorry, but the question has nothing to do with CGI, and URL paths are not the same as file system paths.