Help for this page

Select Code to Download


  1. or download this
    use CGI;
    my $q = CGI->new;
    
    my @list  = map { $q->param('xxx'.$_) } 1 .. $q->param('xxxc');
    # values now sequential in @list.
    
  2. or download this
    foreach my $index (1 .. $q->param('xxxc') ) {
        my $value = $q->param('xxx' . $index);
        # now do whatever with the value
        ...
    }
    
  3. or download this
    %INPUT = $q->Vars;