in reply to CGI.pm debugging with TYPE=FILE & ENCTYPE="multipart/form-data"

To answer your bonus question, according to the CGI docs, $fh1 and $fh2 are not only file handles but also the entered file names.