Eric,
I have been working with perl for sometime now,
What you will need is a form with a <input type='file' name='blah'> in it and this submitting to a cgi where you need to get the value of the input field and run this command:
while ($size = read($upload_file,$buffer,1024)) {
print FILE...