Path to this page:
Subject: CVS commit: pkgsrc/lang/perl5
From: Thomas Klausner
Date: 2024-11-16 12:54:24
Message id: 20241116115424.719FAFC7D@cvs.NetBSD.org
Log Message:
perl: update to 5.40.0.
Core Enhancements
New __CLASS__ Keyword
:reader attribute for field variables
Permit a space in -M command-line option
Restrictions to use VERSION declarations
New builtin::inf and builtin::nan functions (experimental)
New ^^ logical xor operator
try/catch feature is no longer experimental
for iterating over multiple values at a time is no longer experimental
builtin module is no longer experimental
The :5.40 feature bundle adds try
use v5.40; imports builtin functions
Security
CVE-2023-47038 - Write past buffer end via illegal user-defined Unicode property
CVE-2023-47039 - Perl for Windows binary hijacking vulnerability
Incompatible Changes
reset EXPR now calls set-magic on scalars
Calling the import method of an unknown package produces a warning
return no longer allows an indirect object
Class barewords no longer resolved as file handles in method calls under no \
feature "bareword_filehandles"
Files: