Hi,

I will be very thankful if someone explains under given code.

#----- CGI Module ------------------------------
use CGI;

$q = CGI->new();

my ($myself) = split(/\?/,$q->self_url);     #from where it will call the
url?
my @base_url = split(/\//, $myself);         #what is \ /
my $base_url = $base_url[0]."//".$base_url[2]."/";
my $validate_url = $q->self_url."&validate=1";
my $id = $q->param("id");                                #what is the role
of param here?
my $hub = $q->param("HUB");

Regards,
Raheel.

Reply via email to