wrote:
> I have several web links which are absolute paths for the cgi scripts,
> e.g. http://whovian.com/cgi-bin/algebra.cgi. How can I write a web
> links which are not absolute but relative. I would like to use the
> same scripts and web page on another server, but not rewrite the links.
It is completely unclear what you are asking but is is clear that your
question has nothing whatever to do with Perl.
You appear to be asking how to write a relative URL.
If you have a page with a URL
http://www.example.com/this/that/other/page.html
And you want to link to
http://www.example.com/this/here/script.cgi
Then you can use a relative link '../../here/script.cgi' or
'/this/here/script.cgi'.
For details read documents about URLs.