Ugh I thought you wanted a URL.
You can use $0 but that varies depending on how you call the script, ie....
perl test.cgi : $0 = test.cgi
perl /path/to/test.cgi : $0 = /path/to/test.cgi
You can use $0 but that varies depending on how you call the script, ie....
perl test.cgi : $0 = test.cgi
perl /path/to/test.cgi : $0 = /path/to/test.cgi