Help for this page

Select Code to Download


  1. or download this
    use CGI qw/:standard/;
    use CGI::Validate;
    
  2. or download this
    my $variable =  param( "var" ) || "OFF";
    
  3. or download this
    if ($ENV{'REQUEST_METHOD'} eq "GET") {
        $request = $ENV{'QUERY_STRING'};
    ...
            || warn "Could not get query\n";
    } 
    ##Then Save $request to file.