Get url in perl - Perl Views : 289
Tagged in : Perl
0 0
Send mail
To get the url of the page we have to give the following code

use CGI;
my $query = new CGI;
$query->header;
$q=CGI->new();


#To get URL
my $url = $query->virtual_host()."".$query->script_name();
By Nithya, On - 2010-01-23



    Login to add Comments .