b4b7a7b19b
NAME perldelta - what is new for perl v5.28.2 DESCRIPTION This document describes differences between the 5.28.1 release and the 5.28.2 release. If you are upgrading from an earlier release such as 5.28.0, first read perl5281delta, which describes differences between 5.28.0 and 5.28.1. Incompatible Changes Any set of digits in the Common script are legal in a script run of another script There are several sets of digits in the Common script. "[0-9]" is the most familiar. But there are also "[\x{FF10}-\x{FF19}]" (FULLWIDTH DIGIT ZERO - FULLWIDTH DIGIT NINE), and several sets for use in mathematical notation, such as the MATHEMATICAL DOUBLE-STRUCK DIGITs. Any of these sets should be able to appear in script runs of, say, Greek. But the previous design overlooked all but the ASCII digits "[0-9]", so the design was flawed. This has been fixed, so is both a bug fix and an incompatibility. All digits in a run still have to come from the same set of ten digits. Modules and Pragmata Updated Modules and Pragmata o Module::CoreList has been upgraded from version 5.20181129_28 to 5.20190419. o PerlIO::scalar has been upgraded from version 0.29 to 0.30. o Storable has been upgraded from version 3.08 to 3.08_01. Platform Support Platform-Specific Notes Windows The Windows Server 2003 SP1 Platform SDK build, with its early x64 compiler and tools, was accidentally broken in Perl 5.27.9. This has now been fixed. Mac OS X Perl's build and testing process on Mac OS X for "-Duseshrplib" builds is now compatible with Mac OS X System Integrity Protection (SIP). SIP prevents binaries in /bin (and a few other places) being passed the "DYLD_LIBRARY_PATH" environment variable. For our purposes this prevents "DYLD_LIBRARY_PATH" from being passed to the shell, which prevents that variable being passed to the testing or build process, so running "perl" couldn't find libperl.dylib. To work around that, the initial build of the perl executable expects to find libperl.dylib in the build directory, and the library path is then adjusted during installation to point to the installed library. Selected Bug Fixes o If an in-place edit is still in progress during global destruction and the process exit code (as stored in $?) is zero, perl will now treat the in-place edit as successful, replacing the input file with any output produced. This allows code like: perl -i -ne 'print "Foo"; last' to replace the input file, while code like: perl -i -ne 'print "Foo"; die' will not. o A regression in Perl 5.28 caused the following code to fail close(STDIN); open(CHILD, "|wc -l")' because the child's stdin would be closed on exec. This has now been fixed. o "pack "u", "invalid uuencoding"" now properly NUL terminates the zero-length SV produced. o Failing to compile a format now aborts compilation. Like other errors in sub-parses this could leave the parser in a strange state, possibly crashing perl if compilation continued. o See "Any set of digits in the Common script are legal in a script run of another script".
35 lines
915 B
Makefile
35 lines
915 B
Makefile
# $NetBSD: version.mk,v 1.5 2019/04/23 09:27:46 adam Exp $
|
|
#
|
|
# Distill the PERL5_REQD list into a single value that is the highest
|
|
# version of Perl required.
|
|
#
|
|
|
|
# Default to needing Perl 5.
|
|
PERL5_REQD+= 5.0
|
|
PERL5_REQD+= ${_OPSYS_PERL_REQD}
|
|
|
|
.if !defined(_PERL5_REQD)
|
|
_PERL5_REQD?= none
|
|
. for _version_ in ${PERL5_REQD}
|
|
. for _pkg_ in perl-${_version_}
|
|
. if !empty(_PERL5_REQD:Mnone)
|
|
_PERL5_PKG_SATISFIES_DEP= yes
|
|
. for _dep_ in ${PERL5_REQD:S/^/perl>=/}
|
|
. if !empty(_PERL5_PKG_SATISFIES_DEP:M[yY][eE][sS])
|
|
_PERL5_PKG_SATISFIES_DEP!= \
|
|
if ${PKG_ADMIN} pmatch ${_dep_:Q} ${_pkg_:Q} 2>/dev/null; then \
|
|
${ECHO} yes; \
|
|
else \
|
|
${ECHO} no; \
|
|
fi
|
|
. endif
|
|
. endfor
|
|
. if !empty(_PERL5_PKG_SATISFIES_DEP:M[yY][eE][sS])
|
|
_PERL5_REQD= ${_version_}
|
|
. endif
|
|
. endif
|
|
. endfor
|
|
. endfor
|
|
.endif
|
|
PERL5_REQD:= ${_PERL5_REQD}
|
|
MAKEVARS+= _PERL5_REQD
|