Help for this page

Select Code to Download


  1. or download this
    my $cgi = CGI->new;
    my %param = map { $_ => $cgi->param($_) } $cgi->param();
    
  2. or download this
    use CGI 2.79;
    my $cgi = CGI->new;
    my %param = $cgi->Vars;
    
  3. or download this
        %form = ('name'   => 'shishir gundavaram',
                 'sport'  => 'track and field',
                 'events' => '100m');
        $cgi->create_variables (\%hash);
    #now you have: $name, $sport and $events. Convenient, huh?