I am writing a small web application using Perl, HTML::Mason and Apache.
I used the usual Mason <% args> method to get the "normal" form parameters and Apache2::Upload to get the files.
However, I want to write a page that allows the user to upload multiple files, and I would like to use the HTML5 multiple attribute for input fields. It will look on the server as if there were several input files in the form with the same name.
The interface for Apache2::Upload does not seem to directly support this, allowing instead to simply retrieve data for a file with a specific parameter name. the documentation refers to using APR::Request::Param::Table , but I can not find any documentation for this.
Please note that I am not interested in the answers related to adding additional input fields for files with different names. This is trivial for processing on the server, and my question is not related to the interface at all.
source share