The docs for CGI say the upload can return undef if there was a problem and you should call it like this :-
my $file = $q->upload( 'uploaded_file' ); if ( !$file && $q->cgi_error ) { print $q->header( -status => $q->cgi_error ); exit 0; }
In reply to Re^5: File Upload On Windows 8 and Perl
by RichardK
in thread File Upload On Windows 8 and Perl
by skosterow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |