-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Since podlators 2.5.0 (perl 5.17.8, Pod::Man 2.27), Pod::Man has supported three different ways of handling POD errors. The old way of advertising them in the generated manual page (in a POD ERRORS section) is still the default for Pod::Man, as the others are not really suitable for libraries, but the pod2man script now defaults to dying on POD errors. The third option is to output warnings on stderr during the conversion.
Quoting Russ Allbery in https://rt.cpan.org/Public/Bug/Display.html?id=39007:
The primary argument for doing this is that POD errors are primarily
of interest to the author of the POD, not to thte end-user, but the POD
ERRORS section in an installed man page tells the user about things they
can't do anything about.
There's also some resulting discussion on the perl5-porters list at http://www.nntp.perl.org/group/perl.perl5.porters/2008/09/msg139898.html.
Now, ExtUtils::MakeMaker contains its own implementation of pod2man (in ExtUtils::Command::MM), which is still using the default Pod::Man behaviour. The above rationale applies to that one as well. Please consider making it match the "real" pod2man behaviour by dying on POD errors (errors => 'die' in the Pod::Man constructor call), or if that's too intrusive for CPAN, at least output a warning on stderr (errors => 'stderr') so the author has a chance to notice it during the build.
Thanks for your work,
Niko Tyni [email protected]