[EMAIL PROTECTED] <> wrote:
: #!/usr/bin/perl
: require RTF::TEXT::Converter;
: my $inputfile="document.rtf";
: my $outputfile="document.txt";
:
: open(IN,"<$inputfile") or die;
: open(OUT,">$outputfile") or die;
: my $self = new RTF::TEXT::Converter(Output => \*OUT);
: foreach my $inputfile (@ARG
hen coping with the rtf thing, I encountered a problem.
I used the script that comes in the module, but as I didn't understand I
modified it to:
#!/usr/bin/perl
require RTF::TEXT::Converter;
my $inputfile="document.rtf";
my $outputfile="document.txt";
open(IN,"<$inputfile") or die;
open(OUT,">$ou
ript?
- Original Message -
From: "Richard Morse" <[EMAIL PROTECTED]>
To: "Alejandro Santillan Iturres" <[EMAIL PROTECTED]>
Cc:
Sent: Friday, October 14, 2005 6:00 PM
Subject: Re: convert winword .doc to .txt, or .rtf to .txt
For RTF, search.cpan.o
At 22:25 2005-10-14, Alejandro Santillan Iturres wrote:
Any idea what to do to convert .doc to .txt ?
Maybe some reg exp will do the work?
(also .rtf to .txt is desirable).
Antiword
http://www.winfield.demon.nl/
/J
___
Perl-Win32-Users mailing list
For RTF, search.cpan.org search for RTF returns RTF::TEXT::Converter.
Re .doc files, if nothing else there are programs such as antiword
which you could use to get the text.
HTH,
Ricky
On Oct 14, 2005, at 4:25 PM, Alejandro Santillan Iturres wrote:
I need to manipulate a file in windows word