Hi,

I don't think you have to worry about using die or exit it all. The CGI.pm documentation says the following:

"There are occasionally problems involving parsing the uploaded file. This usually happens when the user presses "Stop" before the upload is finished. In this case, CGI.pm will return undef for the name of the uploaded file and set cgi_error() to the string "400 Bad request (malformed multipart POST)". This error message is designed so that you can incorporate it into a status code to be sent to the browser."

Hope this helps.

Reply via email to