title: How can I check the MIME type of an uploaded file using Perl CGI?
body: <p>I'm trying to get the MIME type of an <code>&lt;input type="file" /&gt;</code> element using Perl, but without actually examining the contents of the file itself, In other words, just using the HTTP headers.</p>
  
  <p>I have only been able to get the "multipart/form-type" Content-Type value, but my understanding is that each element will get its own MIME Type?</p>
  
  <p>How can I see the sub-MIME types using Perl?</p>