Handle File Uploads with ASP4
ASP4 is a web application environment for Perl. It's pretty easy to install and start using.
Perhaps the simplest way to handle a file upload would look something like this:
<%
my $upload = $Request->FileUpload('fieldname');
$upload->SaveAs( $Server->MapPath('/uploads/' . $upload->FileName );
my $url = "/uploads/" . $Server->MapPath($upload->Filename);
%>
Thanks for uploading!
Your file is located
HERE.