I'm needing to enable file uploads through a web thingy. Visiting Perlmonks a search for "cgi upload" returns a single entry from 2001. Visiting CPAN shows:

 CGI::UploadEngine - Roger Hall & Others
 CGI::Untaint::upload - Simon Cozens
 CGI::FileUpload - Alexandre Masselot
 CGI::Upload -  גאבור סבו - Gábor Szabó
 and many more ...
Checking the dependency trees for Catalyst::Request::Upload and Dancer::Request::Upload shows they don't use any of these.

My webapp will have file uploading as part of a larger multipart form. The intent is to not process other form elements on the page when the upload button is selected from the page, just accept the file and store it for later use.

Which modules(s) would you encourage or discourage using?
Update: the fine folks on IRC made a strong case for are you crazy/a masochist? Get a framework. Dancer, Catalyst, Mojolicious, Web::Simple ...


Be Appropriate && Follow Your Curiosity

In reply to CGI Upload module recommendations by mikeraz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.