Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Win32::OLE->GetObject Fails on MS Word Documentby roho (Bishop) |
on Dec 16, 2020 at 22:08 UTC ( [id://11125309]=perlquestion: print w/replies, xml ) | Need Help?? |
roho has asked for the wisdom of the Perl Monks concerning the following question:
I am attempting to read an MS Word document. The test file contains the text: Line 1, (blank line), Line 2, (blank line). The call to "GetObject" returns undef and $! is empty.
I am running Strawberry Perl 5.24.1 on Windows 10 with Win32::OLE version 0.1712 (the latest version according to metacpan). This should be very straightforward, but I cannot see what I am missing here. TIA for any suggestions.
"It's not how hard you work, it's how much you get done."
Back to
Seekers of Perl Wisdom
|
|