use CGI; my $q = new CGI; my $ord_id = $q->url_param('ord_id');