|Subject:||Upload randomly fails to return a filehandle|
I'm using perl 5.8.5 along with CGI 3.05 under a Apache 2 / mod_perl 1.99 environment. The problem is that CGI->upload sometimes fails return the filehandle when uploading files, while CGI->param($param_name) always gives me the filehandle correctly. I have traced this down to the upload routine itself. I believe the issue is the array vs. scalar context tricks that upload is pulling off to make developers happy when using the function. For now I will be overriding the upload function and using CGI->param($param_name) instead.