From dce9f542bbb4c8b2b4d24e6bcb74c881140114d7 Mon Sep 17 00:00:00 2001 From: "Philippe Bruhat (BooK)" Date: Tue, 30 Jul 2024 16:45:11 +0200 Subject: [PATCH] document when backwards-compatibility features became disabled by default --- lib/feature.pm | 8 ++++++-- regen/feature.pl | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/feature.pm b/lib/feature.pm index 404cdf94d0602..a0294a321daba 100644 --- a/lib/feature.pm +++ b/lib/feature.pm @@ -409,6 +409,8 @@ 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. +This feature is disabled by default from Perl 5.36 onwards. + =head2 The 'multidimensional' feature This feature enables multidimensional array emulation, a perl 4 (or @@ -422,10 +424,11 @@ 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. - You can use the L module on CPAN to disable multidimensional array emulation for older versions of Perl. +This feature is disabled by default from Perl 5.36 onwards. + =head2 The 'bareword_filehandles' feature This feature enables bareword filehandles for builtin functions @@ -438,10 +441,11 @@ 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. - You can use the L module on CPAN to disable bareword filehandles for older versions of perl. +This feature is disabled by default from Perl 5.38 onwards. + =head2 The 'try' feature B: This feature is still partly experimental, and the implementation diff --git a/regen/feature.pl b/regen/feature.pl index 0ee41f2559d2e..c4f8504f8d85b 100755 --- a/regen/feature.pl +++ b/regen/feature.pl @@ -870,6 +870,8 @@ =head2 The 'indirect' feature warn on) indirect object syntax on older Perls, see the L CPAN module. +This feature is disabled by default from Perl 5.36 onwards. + =head2 The 'multidimensional' feature This feature enables multidimensional array emulation, a perl 4 (or @@ -883,10 +885,11 @@ =head2 The 'multidimensional' feature This feature is available under this name from Perl 5.34 onwards. In previous versions, it was simply on all the time. - You can use the L module on CPAN to disable multidimensional array emulation for older versions of Perl. +This feature is disabled by default from Perl 5.36 onwards. + =head2 The 'bareword_filehandles' feature This feature enables bareword filehandles for builtin functions @@ -899,10 +902,11 @@ =head2 The 'bareword_filehandles' feature This feature is available under this name from Perl 5.34 onwards. In previous versions it was simply on all the time. - You can use the L module on CPAN to disable bareword filehandles for older versions of perl. +This feature is disabled by default from Perl 5.38 onwards. + =head2 The 'try' feature B: This feature is still partly experimental, and the implementation