Help for this page

Select Code to Download


  1. or download this
    sub Parse_Form {
        use CGI qw/:standard/;
    ...
            }
        }
    }
    
  2. or download this
    %formdata = map { $_, [ param( $_ ) ] } param;
    
  3. or download this
    my $val = $formdata{ 'foo' }->[0];
    
  4. or download this
    my $allowedCHARS = 'a-zA-Z0-9\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\
    +?\@\[\\\]\^\_\`\{\|\}\~';
    
  5. or download this
    my $allowedCHARS = 'a-zA-Z0-9' . quotemeta( '!"#$%&\'()*+,-./:;<=>?@[\
    +]^_`{|}~' );