|
Posted by Frank Seitz on March 6, 2008, 9:18 am
Please log in for more thread options Deepan - M.Sc(SE) - 03MW06 wrote:
>
> I am using a file abc.pl which is having a function called
> get().
>
> I am including this perl file inside a cgi script, and also i am
> calling this function inside this script. Now this function residing
> inside the perl file abc.pl should now look into the URL of the
> calling CGI script and it should return the URL for the cgi script.
>
> Can any of you help me to solve this?
use CGI;
sub get {
return CGI->new->self_url;
}
Frank
--
Dipl.-Inform. Frank Seitz; http://www.fseitz.de/ Anwendungen für Ihr Internet und Intranet
Tel: 04103/180301; Fax: -02; Industriestr. 31, 22880 Wedel
|