From eaea370b822e3188b7a95e2b67e4aeabac162e7f Mon Sep 17 00:00:00 2001 From: "Philippe Bruhat (BooK)" Date: Thu, 19 Jun 2025 16:35:02 +0200 Subject: [PATCH] clearly state from which feature bundles onwards the "unfeatures" are disabled --- lib/feature.pm | 15 +++++++++------ regen/feature.pl | 15 +++++++++------ 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/lib/feature.pm b/lib/feature.pm index defae2639784..5ed5fa92e9c5 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.96'; +our $VERSION = '1.97'; our %feature = ( fc => 'feature_fc', @@ -202,7 +202,8 @@ given/when construct. See L for details. This feature is available starting with Perl 5.10. It is enabled by -feature bundles 5.10 through 5.34. +feature bundles 5.10 through 5.34, and disabled from the 5.36 feature +bundle onwards. =head2 The 'unicode_strings' feature @@ -420,7 +421,7 @@ disallow indirect object syntax. This feature is available under this name from Perl 5.32 onwards. In previous versions, it was simply on all the time. To disallow (or warn on) indirect object syntax on older Perls, see the L -CPAN module. +CPAN module. It is disabled from the 5.36 feature bundle onwards. =head2 The 'multidimensional' feature @@ -434,7 +435,8 @@ When this feature is disabled the syntax that is normally replaced will report a compilation error. This feature is available under this name from Perl 5.34 onwards. In -previous versions, it was simply on all the time. +previous versions, it was simply on all the time. It is disabled from +the 5.36 feature bundle onwards. You can use the L module on CPAN to disable multidimensional array emulation for older versions of Perl. @@ -450,7 +452,8 @@ The perl built-in filehandles C, C, C, C, C, C and the special C<_> are always enabled. This feature is available under this name from Perl 5.34 onwards. In -previous versions it was simply on all the time. +previous versions it was simply on all the time. It is disabled from +the 5.38 feature bundle onwards. You can use the L module on CPAN to disable bareword filehandles for older versions of perl. @@ -535,7 +538,7 @@ which implement the "new" object system, previously codenamed "Corinna". This feature enables use C<'> (apostrophe) as an alternative to using C<::> as a separate in package and other global names. -This is enabled by default, but disabled from the 5.41 feature bundle +This is enabled by default, but disabled from the 5.42 feature bundle onwards. In previous versions it was enabled all the time. This only disables C<'> in symbols in your source code, the internal diff --git a/regen/feature.pl b/regen/feature.pl index 4ec02db6d85a..184a924678ff 100755 --- a/regen/feature.pl +++ b/regen/feature.pl @@ -618,7 +618,7 @@ sub longest { __END__ package feature; -our $VERSION = '1.96'; +our $VERSION = '1.97'; FEATURES @@ -733,7 +733,8 @@ =head2 The 'switch' feature See L for details. This feature is available starting with Perl 5.10. It is enabled by -feature bundles 5.10 through 5.34. +feature bundles 5.10 through 5.34, and disabled from the 5.36 feature +bundle onwards. =head2 The 'unicode_strings' feature @@ -951,7 +952,7 @@ =head2 The 'indirect' feature This feature is available under this name from Perl 5.32 onwards. In previous versions, it was simply on all the time. To disallow (or warn on) indirect object syntax on older Perls, see the L -CPAN module. +CPAN module. It is disabled from the 5.36 feature bundle onwards. =head2 The 'multidimensional' feature @@ -965,7 +966,8 @@ =head2 The 'multidimensional' feature will report a compilation error. This feature is available under this name from Perl 5.34 onwards. In -previous versions, it was simply on all the time. +previous versions, it was simply on all the time. It is disabled from +the 5.36 feature bundle onwards. You can use the L module on CPAN to disable multidimensional array emulation for older versions of Perl. @@ -981,7 +983,8 @@ =head2 The 'bareword_filehandles' feature C, C and the special C<_> are always enabled. This feature is available under this name from Perl 5.34 onwards. In -previous versions it was simply on all the time. +previous versions it was simply on all the time. It is disabled from +the 5.38 feature bundle onwards. You can use the L module on CPAN to disable bareword filehandles for older versions of perl. @@ -1066,7 +1069,7 @@ =head2 The 'apostrophe_as_package_separator' feature This feature enables use C<'> (apostrophe) as an alternative to using C<::> as a separate in package and other global names. -This is enabled by default, but disabled from the 5.41 feature bundle +This is enabled by default, but disabled from the 5.42 feature bundle onwards. In previous versions it was enabled all the time. This only disables C<'> in symbols in your source code, the internal