Could someone please help me? I'm sort of a newbie. My problem is I'm writing a program in Perl in which I ask the user to upload Microsoft Word file. I use this code to try to write their file to a Unix text file.
$file = param('upload');
open (UPLOAD, "unixtextfile");
while ($bytesread=read($file, $buffer, 1024)){
print UPLOAD $buffer;
}
My problem is that when I test this, I get nothing but garbage. I'm writing this program for a former professor and he needs it by Sunday. I'd be forever grateful for a reply or an email. Thanks in advance.
Ed
edkuehnel@aol.com