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:
- Have others encountered the same warning message?
- Does anyone have any links to information regarding this warning?
- The warning seems to be completely harmless. Is it?
- Are there better ways to handle this (e.g. perhaps some flag in Makefile.PL) beyond converting the line endings of the *.pm file?
For anyone wondering why I'm testing with so many versions, see "Perl images for GitLab CI" for some background information.
— Ken
|
---|