http://qs321.pair.com?node_id=46299

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

  • Comment on How do I find the full url of the script as it executes?

Replies are listed 'Best First'.
Re: How do I find the full url of the script as it executes?
by chipmunk (Parson) on Dec 12, 2000 at 23:43 UTC
    I like to use the CGI module's url() method for this. It has various options for specifying how much of the URL you want.
Re: How do I find the full url of the script as it executes?
by merlyn (Sage) on Dec 12, 2000 at 23:47 UTC
    If you're a CGI program, and you are using CGI.pm, look at its documentation, search around for "self_url" and look at the nearby information.