Syntactic Confectionery Delight | |
PerlMonks |
Having an issue with my CGI.pm file uploadsby technojosh (Priest) |
on Sep 25, 2007 at 16:02 UTC ( [id://640979]=perlquestion: print w/replies, xml ) | Need Help?? |
technojosh has asked for the wisdom of the Perl Monks concerning the following question:
I have a web tool that manages a set of java files. A feature of this tool is being able to upload java files, or update existing ones(also via an upload).
I had this script working (i thought), but now all uploaded files show up blank(0 bytes), and from this bit of code: I get the following errors in my apache log:
Use of uninitialized value in <HANDLE>
Below is the complete code that handles the upload. The script seems to get the file info, because it does open a new file of the same name in the target directory, it just shows up as 0 bytes. I am wondering why
$upload_filehandle is not getting opened correctly?
Back to
Seekers of Perl Wisdom
|
|