From 1b56a5a3b930d67301c184f7ee2dfece3984c88c Mon Sep 17 00:00:00 2001 From: Maxim Vuets Date: Wed, 16 Jul 2025 15:37:20 +0200 Subject: [PATCH 1/3] AUTHORS: Add myself as required by t/porting/authors.t --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 6e0af5a7a83a..2e70adf27056 100644 --- a/AUTHORS +++ b/AUTHORS @@ -965,6 +965,7 @@ Mattia Barbon Maurizio Loreti Max Baker Max Maischein +Maxim Vuets Maxwell Carey Merijn Broeren Michael A Chase From 37169abc506c315a7614ca378b84803d8da443c6 Mon Sep 17 00:00:00 2001 From: Maxim Vuets Date: Wed, 16 Jul 2025 15:29:13 +0200 Subject: [PATCH 2/3] perlexperiment: Add missing feature "class" --- pod/perlexperiment.pod | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pod/perlexperiment.pod b/pod/perlexperiment.pod index ef1b6c13def8..23b0934987ec 100644 --- a/pod/perlexperiment.pod +++ b/pod/perlexperiment.pod @@ -173,6 +173,18 @@ example: The ticket for this experiment is L<[perl #19765]|https://github.com/Perl/perl5/issues/19765>. +=item New object system and C syntax + +Introduced in Perl 5.37.9. + +Using this feature triggers warnings in the category C. + +This feature enables the new object system and its associated keywords +C, C, C. + +The ticket for this experiment is +L<[perl #22139]|https://github.com/Perl/perl5/issues/22139>. + =item C and C list processing operators Introduced in Perl 5.41.7. From 3318c56281217f99f38d94237bf5aa9a683da38c Mon Sep 17 00:00:00 2001 From: Maxim Vuets Date: Wed, 16 Jul 2025 15:29:24 +0200 Subject: [PATCH 3/3] feature: Document origins of class, keyword_any, keyword_all --- lib/feature.pm | 8 +++++++- regen/feature.pl | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/lib/feature.pm b/lib/feature.pm index 7e295ce12b28..267d1da3120c 100644 --- a/lib/feature.pm +++ b/lib/feature.pm @@ -4,7 +4,7 @@ # Any changes made here will be lost! package feature; -our $VERSION = '1.98'; +our $VERSION = '1.99'; our %feature = ( fc => 'feature_fc', @@ -535,6 +535,8 @@ warn when you use the feature, unless you have explicitly disabled the warning: This feature enables the C block syntax and other associated keywords which implement the "new" object system, previously codenamed "Corinna". +This feature is available starting in Perl 5.38. + =head2 The 'apostrophe_as_package_separator' feature This feature enables use C<'> (apostrophe) as an alternative to using @@ -559,6 +561,8 @@ This feature enables the L|perlfunc/any BLOCK LIST> operator keyword. This allow testing whether any of the values in a list satisfy a given condition, with short-circuiting behaviour as soon as it finds one. +This feature is available starting in Perl 5.42. + =head2 The 'keyword_all' feature B: This feature is still experimental and the implementation may @@ -572,6 +576,8 @@ This allow testing whether all of the values in a list satisfy a given condition, with short-circuiting behaviour as soon as it finds one that does not. +This feature is available starting in Perl 5.42. + =head1 FEATURE BUNDLES It's possible to load multiple features together, using diff --git a/regen/feature.pl b/regen/feature.pl index ba07861c9ba6..fe1e2d35953b 100755 --- a/regen/feature.pl +++ b/regen/feature.pl @@ -621,7 +621,7 @@ sub longest { __END__ package feature; -our $VERSION = '1.98'; +our $VERSION = '1.99'; FEATURES @@ -1067,6 +1067,8 @@ =head2 The 'class' feature This feature enables the C block syntax and other associated keywords which implement the "new" object system, previously codenamed "Corinna". +This feature is available starting in Perl 5.38. + =head2 The 'apostrophe_as_package_separator' feature This feature enables use C<'> (apostrophe) as an alternative to using @@ -1091,6 +1093,8 @@ =head2 The 'keyword_any' feature This allow testing whether any of the values in a list satisfy a given condition, with short-circuiting behaviour as soon as it finds one. +This feature is available starting in Perl 5.42. + =head2 The 'keyword_all' feature B: This feature is still experimental and the implementation may @@ -1104,6 +1108,8 @@ =head2 The 'keyword_all' feature condition, with short-circuiting behaviour as soon as it finds one that does not. +This feature is available starting in Perl 5.42. + =head1 FEATURE BUNDLES It's possible to load multiple features together, using