in reply to How to retrieve text to cgi file?
If you are using CGI.pm, you want the upload() function and its friends.