According to the docs: When called with the name of an upload field, upload() returns a filehandle, or undef if the parameter is not a valid filehandle.
I'm not able to test it at the moment, but I should think that your problem is that you are sending it the actual file name, and not the field that contains the file name.
my $filehandle = $q->upload('file'); should work.In reply to Re: file upload undefined: Operation now in progress
by kdj
in thread file upload undefined: Operation now in progress
by ksublondie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |