use CGI::Carp 'fatalsToBrowser'; #### open(UPLOAD, ">$tempfile") or die "Cannot write $tempfile: $!";