my $query = CGI::new(); #assign value to $action my $action = $query->param('action');