use CGI; use CGI::Validate qw(:standard); my $Page = $cgi->param('node'); #$Page will now be assigned the value of the parameter node that was passed in the url #### $cgi->url_param('node'); or $cgi->param_url('node');