Skip Menu |

This queue is for tickets about the RTF-Parser CPAN distribution.

Report information
The Basics
Id: 50755
Status: new
Priority: 0/
Queue: RTF-Parser

Owner: stuart [...]
Requestors: kev [...]

Bug Information
Severity: Normal
Broken in: 1.09
Fixed in: (no value)

Subject: Undefined subroutine &RTF::Action:: (line 589 in
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 563
Download (untitled) / with headers
text/plain 563b
Broken RTF, and I can't get more specific than that because there are many records being pulled from a database and I don't have the time to figure out which one, will crash RTF::Parser. This fix seemed to work: # Control word executer (this is nasty) sub _control_execute { my $self = shift; my $type = shift; my $arg = shift; return unless ($type // '') ne ''; no strict 'refs'; &{"RTF::Action::$type"}($self, $type, $arg, 'start'); } ...although I think // is Perl 5.10-specific, so you may need to modify this to support 5.8. Kev

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to