pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

perl: update to 5.37.9.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Sun Feb 26 07:39:44 2023 +0100
Changeset:	8cd04c9cc32d53d1f58588cf49d9d6d77f52604a

Modified Files:
	perl5-devel/Makefile.common
	perl5-devel/distinfo

Log Message:
perl: update to 5.37.9.

= Core Enhancements

== New C<class> Feature

A new B<experimental> syntax is now available for defining object classes,
where per-instance data is stored in "field" variables that behave like
lexicals.

    use feature 'class';

    class Point
    {
        field $x;
        field $y;

        method zero { $x = $y = 0; }
    }

This is described in more detail in L<perlclass>.  Notes on the internals of
its implementation and other related details can be found in L<perlclassguts>.

This remains a new and experimental feature, and is very much still under
development. It will be the subject of much further addition, refinement and
alteration in future releases.  As it is experimental, it yields warnings in
the C<experimental::class> category.  These can be silenced by a
C<no warnings> statement.

    use feature 'class';
    no warnings 'experimental::class';

== REG_INF has been raised from 65,536 to 2,147,483,647

Many regex quantifiers used to be limited to U16_MAX in the past, but are
now limited to I32_MAX, thus it is now possible to write /(?:word){1000000}/
for example.  Note that doing so may cause the regex engine to run longer
and use more memory.

== New API functions optimize_optree and finalize_optree

There are two new API functions for operating on optree fragments, ensuring
you can invoke the required parts of the optree-generation process that might
otherwise not get invoked (e.g. when creating a custom LOGOP).  To get access
to these functions, you first need to set a C<#define> to opt-in to using
these functions.

  #define PERL_USE_VOLATILE_API

These functions are closely tied to the internals of how the interpreter
works, and could be altered or removed at any time if other internal changes
make that necessary.

= Incompatible Changes

== (**{ ... }) removed from the regex engine.

This feature was released as part of 5.37.8, after some use and
discussion it was seen as more problematic than understood at first
and has been removed in 5.37.9. It was only ever present in a single
development release and has never been released as part of a production perl,
thus no deprecation cycle has been performed.

= Deprecations

== Use of C<'> as a package name separator is deprecated

Using C<'> as package separator in a variable named in a double-quoted
string has warned since 5.28.  It is now deprecated in both string
interpolation and non-interpolated contexts, and will be removed in
Perl 5.40.

Also Performance Enhancements, and updates to Modules and Pragmata.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8cd04c9cc32d53d1f58588cf49d9d6d77f52604a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 perl5-devel/Makefile.common | 2 +-
 perl5-devel/distinfo        | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs:
diff --git a/perl5-devel/Makefile.common b/perl5-devel/Makefile.common
index fdad5ae673..1d2da2905d 100644
--- a/perl5-devel/Makefile.common
+++ b/perl5-devel/Makefile.common
@@ -3,7 +3,7 @@
 # used by lang/perl5/Makefile
 # used by databases/p5-gdbm/Makefile
 
-DISTNAME=	perl-5.37.8
+DISTNAME=	perl-5.37.9
 CATEGORIES=	lang devel perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/5.0/,}
 DISTFILES+=	${DISTNAME}${EXTRACT_SUFX}
diff --git a/perl5-devel/distinfo b/perl5-devel/distinfo
index dd56c7b968..e325c0ab42 100644
--- a/perl5-devel/distinfo
+++ b/perl5-devel/distinfo
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.177 2022/06/28 10:02:51 wiz Exp $
 
-BLAKE2s (perl-5.37.8.tar.xz) = d07df058aa723da5667ce648d3d71e60c29992ed9fd9276bea2f47f33273d4b0
-SHA512 (perl-5.37.8.tar.xz) = dc0e6d0cacbaecb0933509821e895511189f8a714d3ad9338c762370abf55ad2f95c99b141ece3dcf94149108cc3ebf9b66b12da73ffd9ea562f72422b9bf938
-Size (perl-5.37.8.tar.xz) = 13563952 bytes
+BLAKE2s (perl-5.37.9.tar.xz) = 3b1fb2f1d8d23892bc71d2b97285733445874a90e5df6900915bdc830c7d77cd
+SHA512 (perl-5.37.9.tar.xz) = e994f5931ae4b1cf1205c986d378a4d8931e5b9aaf62678adf0ff5cb1272b9de5f05ecd532d49a5dd5d500e4364ca7bbcd086acb5fce9a9632d7fcba1ea23a0d
+Size (perl-5.37.9.tar.xz) = 13455772 bytes
 SHA1 (patch-Configure) = f3bd324a90254405b3ce8e29846b4ddc9ebf7d73
 SHA1 (patch-Makefile.SH) = 56203aea57c429a94760f039a978463b8859b0a9
 SHA1 (patch-caretx.c) = e9698f513b6fb5237b627d6a1a56153720654039


Home | Main Index | Thread Index | Old Index