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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.