in reply to Problematic UploadFile() method in CGI.pm

The cgi docs give this example:
$fh = upload('uploaded_file'); while (<$fh>) { print; }
CGI.pm creates a temporary file of the uploaded file. The above method gives you the file handle to that file.

Hope that helps