tej has asked for the wisdom of the Perl Monks concerning the following question:

This question might be simple, but i am new to perl. I am trying to parse .doc file and then convert in .txt file. I tried searching module on CPAN but i could not get it? Is there any module available for it?..If not how can i parse doc file? perl version i am using is 5.8 Can anybody please help me with how to do it?.. Thank you

Replies are listed 'Best First'.
Re: Parsing word file
by sflitman (Hermit) on Aug 06, 2010 at 05:18 UTC
    Take a look at Text::Extract::Word, it has nice example code to try for your application. Note that it only gives you the Unicode text, no formatting.

    HTH,
    SSF

Re: Parsing word file
by leslie (Pilgrim) on Aug 06, 2010 at 05:13 UTC
Re: Parsing word file
by Anonymous Monk on Aug 06, 2010 at 15:36 UTC
    You may want to look at Antiword
    (Although, I've never used it).