-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
In reply to Re: Error detection on CGI file upload attempts
by Corion
in thread Error detection on CGI file upload attempts
by willjones
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |