Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Pod-Readme CPAN distribution.

Report information
The Basics
Id: 39830
Status: resolved
Priority: 0/
Queue: Pod-Readme

People
Owner: Nobody in particular
Requestors: chris+rt [...] chrisdolan.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.09
Fixed in: (no value)



Subject: [WISH] Support for "=encoding utf8"
Pod that has a declaration like "=encoding utf8" crashes Pod::Readme. It's not clear whether this is actually the fault of Pod::Readme or Pod::PlainText, but it would be nice if Pod::Readme at least ignored it rather than dying. I think it's probably fine for Pod::Readme to ignore the directive and pass the text through verbatim. In that case, a graceful, forward-compatible fix may be as simple as: sub cmd_encoding { my $self = shift; if (Pod::PlainText->can('cmd_encoding')) { $self->SUPER::cmd_encoding(@_); } return; } If you would rather I reported this to Pod::PlainText instead, just let me know.
Sorry for the ridiculous delay, it would appear I missed this ticket. I updated Pod::Readme last year to avoid crashing when encountering an =encoding directive, but it doesn't currently actually do anything useful with them. RT #55489 also discusses this issue and I've just updated it, so I'll close this ticket.