Syntactic Confectionery Delight | |
PerlMonks |
Converting doc to txt without WIN32::OLEby mrguy123 (Hermit) |
on Jun 20, 2012 at 07:27 UTC ( [id://977242]=perlquestion: print w/replies, xml ) | Need Help?? |
mrguy123 has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks I have about 30 word documents that I need to parse, and would like to transform them to text. I know the best solution is to use Win32::OLE but since I am working in Unix this is a bit of a problem. Thre are solutions but for now I am looking for other directions. What I really need is a super simple Perl module that gets text from word documents and dumps it in a string. I tried using Text::Extract::Word but it only worked on one doc out of 5. So, any ideas? There’s no point in being grown up if you can’t act a little childish sometimes P.S: I need this solution primarily for doc and not docx documents UPDATE: Installed the latest version of Text::Extract::Word (it appears that I was working with the legacy code for some reason). It now works! Thanks for all your help Guy
Back to
Seekers of Perl Wisdom
|
|