in reply to Re: multiple values and CGI.pm
in thread multiple values and CGI.pm
Have you tried it before?#!/usr/bin/perl -w use CGI qw/:standard/; if (param) { my @values = param('name'); } print header, start_html, start_form; print textfield(-name=>'name', -default=>$values[0], -override=>1); print textfield(-name=>'name', -default=>$values[1], -override=>1); print submit, end_form, $values[0], $values[1], end_html;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: multiple values and CGI.pm
by tye (Sage) on Mar 22, 2001 at 19:46 UTC |