tej has asked for the wisdom of the Perl Monks concerning the following question:
I am using Text::Extract::Word to extract data from doc file. However whatever i do I can get only last sentence of this file
My code looks like:
use Text::Extract::Word; my $file = Text::Extract::Word->new("try.doc"); my $raw = $file->get_text(':raw'); print "$raw\n";
If my doc file has following data:
Hello
Welcome to PerlWhen i rum my script I get only "Welcome to perl" as output
What can be wrong in the script
I am using ms office 2003 and perl version 5.12.2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem in Text::Extract::Word
by Khen1950fx (Canon) on Sep 23, 2011 at 07:59 UTC |