Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: 'perl Makefile.PL' warning for v5.20 to v5.24

by cavac (Parson)
on Jun 23, 2022 at 13:12 UTC ( [id://11144979]=note: print w/replies, xml ) Need Help??


in reply to 'perl Makefile.PL' warning for v5.20 to v5.24

* Have others encountered the same warning message?

Sometimes, yes.

* Does anyone have any links to information regarding this warning?

Not me. But from memory, Perl just checks in the ASCII/Unicode control character set and excludes those from warnings that are explicitely allowed.

* The warning seems to be completely harmless. Is it?

Maybe. But it IS a warning, so at least one person thought this could be a problem big enough to write some code to warn you.

BTW, if you are using vim, :set ff=unix should also work to convert the file format.

PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP

Replies are listed 'Best First'.
Re^2: 'perl Makefile.PL' warning for v5.20 to v5.24
by kcott (Archbishop) on Jun 23, 2022 at 17:44 UTC

    G'day cavac,

    "Sometimes, yes."

    Was it just in the range of Perl versions that I indicated? Did it consistently happen in those ranges?

    "... at least one person thought this could be a problem big enough to write some code to warn you."

    I'm trying to determine why it was a "big enough" problem; and why it was only such a problem across three Perl versions.

    "... if you are using vim ..."

    Thanks for the tip; however, this problem occurs in legacy $work code (probably over a decade old). I do use vim but I didn't write this code, nor am I its maintainer.

    — Ken

      I don't have any systems anymore with such old Perl versions, so i'm limited to my rusty old memory and what i can glean from documentation.

      I've read through the relevant perldeltas for 5.20 and 5.26. Both had changes regarding handling of literal control characters in variable names.

      5.20 added deprecation warnings and 5.26 made code changes to disallow their use.

      After seeing this, my best guess (without knowing the perl internals or grepping through the changelogs) is that the small change for 5.20 has introduced some false positives in control characters detection and 5.26 changed the parser enough that those went away.

      My second guess would be a change in the Unicode handler, probably in the way Perl or a script detects Unicode/fileending stuff. v5.20 was the upgrade to Unicode 6.3, v5.26 to 9.0.

      I could be totally mistaken, though.

      PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP

        ++ Thankyou very much for your input and the extra checking you performed.

        "I could be totally mistaken, though."

        You've stated the guesses you've made: they all seem reasonable to me. In the absence of any contradicting information, I'm happy to go along with your explanation.

        — Ken

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11144979]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-20 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found