If you are using CGI.pm, you want the upload() function and its friends.
In reply to Re: How to retrieve text to cgi file? by brian_d_foy in thread How to retrieve text to cgi file? by gube