# to test form upload using CGI.pm - works fine! use strict; use warnings; use CGI; my $cgi = CGI->new; print "Content-Type: text/html\n\n"; print "\n"; my $fh = $cgi->upload("file1"); print <$fh>; print "\n"; exit(0); #### # to test form upload use strict; use warnings; use CGI::Minimal; my $cgi = CGI::Minimal->new; print "Content-Type: text/html\n\n"; print "\n"; print $cgi->param("file1"); print "\n"; exit(0); #### CGI::Minimal test