in reply to Error detection on CGI file upload attempts
-f <$inputFileHandle> is valid Perl syntax but it does not mean what you might think it does. It reads a line from $inputFileHandle and then checks whether a file with that name (including newline and all) exists.
You might want
-f $inputFileHandle
or possibly
@info = stat $inputFileHandle
|
|---|