In a HTML form, if we give names to input boxes with []
, like this
<input name="foo[]" type="text" />
<input name="foo[]" type="text" />
In PHP, we can obtain values of these input boxes in an array, with $_POST['foo']
.
How to do the similar in Perl? I use CGI.pm