$fh = $q->upload('file') or die_nice(); sub die_nice { print $q->header; print "

Failed again, lets look at our CGI.pm version: ", $CGI::VERSION print "

Now here is our CGI object"; use Data::Dumper; print '

', $q->escapeHTML(Dumper $q), '
'; exit; } ####

Upload File