title: How do I handle a multiple select form field in Perl?
body: <p>What is the best, in Perl, way to get the selected values of a multiple select form field?</p>
  
  <pre><code>&lt;select name="mult" multiple="multiple"&gt;
     &lt;option value="1"&gt;Opt. 1&lt;/option&gt;
     &lt;option value="2"&gt;Opt. 2&lt;/option&gt; &lt;!-- selected --&gt;
     &lt;option value="3"&gt;Opt. 3&lt;/option&gt; 
     &lt;option value="4"&gt;Opt. 4&lt;/option&gt; &lt;!-- selected --&gt;
     &lt;option value="5"&gt;Opt. 5&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I get regular form fields like this: <code>$param1 = param('param1');</code></p>