http://qs1969.pair.com?node_id=11144976

kcott has asked for the wisdom of the Perl Monks concerning the following question:

G'day All,

I encountered a warning when running 'perl Makefile.PL' on Perl versions between 5.20 and 5.24 inclusive. Versions 5.16, 5.18 and all stable versions from 5.26 to 5.36 did not have this problem.

WARNING: ABSTRACT contains control character(s), they will be removed

I identified the problem as being DOS-style line endings (i.e. CRNL) in the *.pm file. When I converted these to Unix-style line endings (i.e. just NL) the warnings stopped.

$ perl -pi -e 's/\r$//' path_to_pm_file

I checked perl5200delta and "ExtUtils::MakeMaker for v5.20.0" for any documentation regarding the introduction of this warning: none found.

So, my questions:

For anyone wondering why I'm testing with so many versions, see "Perl images for GitLab CI" for some background information.

— Ken