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

People
Owner: stuart [...] morungos.com
Requestors: kev [...] brantaero.com
Cc:
AdminCc:

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



Subject: Undefined subroutine &RTF::Action:: (line 589 in Parser.pm)
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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.