I have a bunch of rtf documents that I need to be able to work with on my
linux box. I want to convert them to text and still be able to have the white
space. At any rate I tried the before mentioned module and this was my
code...
#!/usr/bin/perl
use strict;
use warnings;
use RTF::TEXT::Converter;
my $object = RTF::TEXT::Converter -> new ( Output => \*STDOUT );
while ( <> ) {
$object -> parse_stream( $_ );
}
this is my output....
[EMAIL PROTECTED] ups]$ ./convert.pl nov.rtf
Can't open '{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss
Arial;}}{\colortbl;\red0\green0\blue0;}{\stylesheet{\fs16\lang1033 \snext0
Normal;}}
' (No such file or directory) at /usr/lib/perl5/site_perl/5.8.3/RTF/Parser.pm
line 34, <> line 1.
Any suggestions?
Paul Kraus
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>