2018-10-26
Hard-won Perl installation knowledgeIt's bad form, but some Perl modules run their author tests, e.g. tests of their POD, when installed. This means an error in the POD prevents the module from installing.
Such is the case in Tree::XPathEngine, a dependency of some module I actually wanted. It probably installed fine before Pod::Simple v3.21, but to quote brian d foy,
Pod::Simple 3.21 changed its behavior when it encountered a non-ASCII character in Pod without an encoding. Instead of handling it quietly, it now gives a warning. That’s not so bad, but Test::Pod uses Pod::Simple, and whenever it sees a warning, pod_ok fails.The cpanm installation log suggests I can force-install it despite the error. Or I could dig into the working dir and hand-patch the POD source. Hmm.
18:50