>       <select name="legenda" size ="10" MULTIPLE>
> and I need to catch all the values of this list but, if I write:
>       $legenda = $pagina->param("legenda");
> the variable $legenda is equal only to the first selected item.
> I read the cgi perldoc, but I cannot locate the answer to may question.

       FETCHING THE VALUE OR VALUES OF A SINGLE NAMED PARAMETER:


           @values = $query->param('foo');

                     -or-

           $value = $query->param('foo');

       Pass the param() method a single argument to fetch the value of
       the named parameter. If the parameter is multivalued (e.g. from
       multiple selections in a scrolling list), you can ask to
       receive an array.  Otherwise the method will return a single
       value.


-- 
David Dorward                                      http://dorward.me.uk


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to