diff options
author | Ricardo Signes <rjbs@semiotic.systems> | 2021-10-30 15:20:52 -0400 |
---|---|---|
committer | Ricardo Signes <rjbs@semiotic.systems> | 2021-11-02 14:19:43 -0400 |
commit | d5c835da0bd504cf8b12ef8b4f4f0795bd314751 (patch) | |
tree | e7c08ada8150a53baafd1439f997758a40a1ff87 /regen | |
parent | bbe4b56e549d548cc86147e87768dda48539eabc (diff) | |
download | perl-d5c835da0bd504cf8b12ef8b4f4f0795bd314751.tar.gz |
feature.pm: remove bareword_filehandles from :5.36
Diffstat (limited to 'regen')
-rwxr-xr-x | regen/feature.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/regen/feature.pl b/regen/feature.pl index a0595f2f5d..18e2cee74f 100755 --- a/regen/feature.pl +++ b/regen/feature.pl @@ -58,6 +58,7 @@ use constant V5_23 => sort ( +V5_15, qw{postderef_qq} ); use constant V5_27 => sort ( +V5_23, qw{bitwise} ); use constant V5_35 => sort grep {; $_ ne 'switch' + && $_ ne 'bareword_filehandles' && $_ ne 'indirect' && $_ ne 'multidimensional' } +V5_27; @@ -822,8 +823,10 @@ for the exceptions listed below. The perl built-in filehandles C<STDIN>, C<STDOUT>, C<STDERR>, C<DATA>, C<ARGV>, C<ARGVOUT> and the special C<_> are always enabled. -This feature is enabled under this name from Perl 5.34 onwards. In -previous versions it was simply on all the time. +This behavior was always present in versions before Perl 5.34. In Perl 5.34, +it was made controllable with the C<feature> pragma, but was on by default. +It is not present in the C<:5.36> feature bundle, so C<use v5.36> disables +this feature. You can use the L<bareword::filehandles> module on CPAN to disable bareword filehandles for older versions of perl. |