Re: handling multiple select with CGI

2004-03-17 Thread Randal L. Schwartz
> "Andrew" == Andrew Gaffney <[EMAIL PROTECTED]> writes: Andrew> I have a Perl script which uses the CGI module which needs to be able Andrew> to get all the selected items in a SELECT. I see that the request Andrew> comes in as 'selectname=item1&selectname=item2&selectname=item3'. If I Andrew

Re: handling multiple select with CGI

2004-03-17 Thread Andrew Gaffney
Wiggins d Anconia wrote: I have a Perl script which uses the CGI module which needs to be able to get all the selected items in a SELECT. I see that the request comes in as 'selectname=item1&selectname=item2&selectname=item3'. If I do '$p = $cgi->Vars', wouldn't I only get the last value? F

Re: handling multiple select with CGI

2004-03-17 Thread Andrew Gaffney
Charles K. Clarkson wrote: Andrew Gaffney [mailto:[EMAIL PROTECTED] : : I have a Perl script which uses the CGI module which needs to : be able to get all the : selected items in a SELECT. I see that the request comes in as : 'selectname=item1&selectname=item2&selectname=item3'. If I do : '$p

Re: handling multiple select with CGI

2004-03-17 Thread Wiggins d Anconia
> I have a Perl script which uses the CGI module which needs to be able to get all the > selected items in a SELECT. I see that the request comes in as > 'selectname=item1&selectname=item2&selectname=item3'. If I do '$p = $cgi->Vars', wouldn't > I only get the last value? >From the CGI.pm doc

RE: handling multiple select with CGI

2004-03-17 Thread Charles K. Clarkson
Andrew Gaffney [mailto:[EMAIL PROTECTED] : : I have a Perl script which uses the CGI module which needs to : be able to get all the : selected items in a SELECT. I see that the request comes in as : 'selectname=item1&selectname=item2&selectname=item3'. If I do : '$p = $cgi->Vars', wouldn't :

handling multiple select with CGI

2004-03-17 Thread Andrew Gaffney
I have a Perl script which uses the CGI module which needs to be able to get all the selected items in a SELECT. I see that the request comes in as 'selectname=item1&selectname=item2&selectname=item3'. If I do '$p = $cgi->Vars', wouldn't I only get the last value? -- Andrew Gaffney Network Admi