From c1936b8a22ed759b7c07f4747325f0625384f601 Mon Sep 17 00:00:00 2001 From: "Philippe Bruhat (BooK)" Date: Tue, 30 Jul 2024 16:45:11 +0200 Subject: [PATCH] document when the backwards-compatibility features are disabled by default --- lib/feature.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 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