Subject: | Use of uninitialized value $_ in pattern match - Pod::PlainText |
Hello,
I'm currently receiving the following error in Pod::PlainText.
Use of uninitialized value $_ in pattern match (m//) at .../Pod/PlainText.pm line 495, <$file_handle> line 159.
this can be reproduced within an =item section containing just verbatim text.
=item Example (when called on a Common::Broker::Message::Escalation child instance):
{
"data" : {
"escalation_id" : "1224",
"timestamp" : "1517232936",
"severity" : "WARNING",
"message" : "This is a test message"
},
"type" : "escalation"
}
The issue can be fixed in the Pod by adding non-verbatim text before the verbatim block in the example above.
I noticed you have note on the Pod::PlainText page indicating this module is legacy. In our case, we're not directly using Pod::PlainText, but using it through Perl::Critic::Utils::POD, so switching to Pod::Simple isn't immediately an option for us. If your note is indicating this module is no longer taking bug requests, I understand.
Thank you!
Blaine