Sep 27, 2001, 5:52 PM
Post #1 of 1
Reading MS Word files
I can (with no problem) open edit and close a text file(.txt)
How can I do the same with a MS Word file(.doc)
Right now I'm just tring to print the contents of a simple Word file
like this "This is a test file for perl "
use CGI qw(:all);
open(TF, "perltest.doc") || die "Can't open perltest.doc: $!";
print "perltest is -- $text"
I get this
perltest is -- ÐÏà¡±;