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.