in reply to Upload a file from a web form

Well bodmin, all of our help and it still isn't working. Of course, your responses aren't helping us help you either. My crystal ball is in the shop for repairs now and my mindreader is on vacation.* So until then, you need to offer more for us to go on. Are you getting any errors in your webserver logs? Is the webpage returning a 500 error? Are you certain that you have a field as such: <input type="file" name="uploaded_file">? You are running with use strict; use warnings; use diagnostics; right? Have you tried perl -c myscript.cgi? Does the file that you are uploading contain anything? We just need more information to figure out what is going on.

* Sorry for the sarcasm. Your script should work if everything else is as I would assume it to be.

antirice    
The first rule of Perl club is - use Perl
The
ith rule of Perl club is - follow rule i - 1 for i > 1