To be safe, use the upload() function (new in version 2.47). When called with the name of an upload field, upload() returns a filehandle, or undef if the parameter is not a valid filehandle.
This is the recommended idiom.$fh = $query->upload('uploaded_file'); while (<$fh>) { print; }
-derby
In reply to Re: CGI file very odd
by derby
in thread CGI file very odd
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |