title: how to pass an array to a perl cgi script with a HTML form?
body: <p>In a HTML form, if we give names to input boxes with <code>[]</code>, like this</p>
  
  <pre><code>&lt;input name="foo[]" type="text" /&gt;
  &lt;input name="foo[]" type="text" /&gt;
  </code></pre>
  
  <p>In PHP, we can obtain values of these input boxes in an array, with <code>$_POST['foo']</code>.</p>
  
  <p>How to do the similar in Perl? I use CGI.pm</p>