S
stov753
I need to parse converted RTF files on Red Hat, and CPAN'ed
RTF::Text::Converter for that purpose. But the text converter yields
only the first few lines of the file. I've tried a number of variations
on:
require RTF::TEXT::Converter;
my $result;
my $self = new RTF::TEXT::Converter(output => \$result);
if (@ARGV) {
foreach my $filename (@ARGV) {
$self->parse_stream($filename);
print $result;
$result = '';
The RTF::HTML::Converter works perfectly on these files, as does the
RTF::Tokenizer. Can anyone explain this?
Steven Stovall
(e-mail address removed)
RTF::Text::Converter for that purpose. But the text converter yields
only the first few lines of the file. I've tried a number of variations
on:
require RTF::TEXT::Converter;
my $result;
my $self = new RTF::TEXT::Converter(output => \$result);
if (@ARGV) {
foreach my $filename (@ARGV) {
$self->parse_stream($filename);
print $result;
$result = '';
The RTF::HTML::Converter works perfectly on these files, as does the
RTF::Tokenizer. Can anyone explain this?
Steven Stovall
(e-mail address removed)