You need to check CGI a bit more carefully in the section entitled "CREATING A FILE UPLOAD FIELD". You don't open the $uploadfile. You can read from it directly as if it were a filehandle. This is, IMO, kinda silly. So, instead, you can get the filehandle directly using my $fh = CGI::upload('upload');. If you don't want to save it at all, check out CGI::upload_hook (which is not exported by default).
In reply to Re: File source from memory
by Tanktalus
in thread File source from memory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |