diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2022-05-11 10:32:57 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2022-05-13 22:12:47 +0100 |
commit | eca9683b6bd301ac53a1a7e9c55bc21658f0844c (patch) | |
tree | a1c2b717ce5a9d826e8084f0cefd4fe0d5817cf3 /regen/feature.pl | |
parent | 8c2d1e7253cbf75cbc963441abc87a75a017715a (diff) | |
download | perl-eca9683b6bd301ac53a1a7e9c55bc21658f0844c.tar.gz |
Put 'bareword_filehandles' feature back into the v5.35 bundle
Diffstat (limited to 'regen/feature.pl')
-rwxr-xr-x | regen/feature.pl | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/regen/feature.pl b/regen/feature.pl index 7ad7240646..88530097a2 100755 --- a/regen/feature.pl +++ b/regen/feature.pl @@ -59,7 +59,6 @@ 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, qw{isa signatures}; @@ -487,7 +486,7 @@ read_only_bottom_close_and_rename($h); __END__ package feature; -our $VERSION = '1.71'; +our $VERSION = '1.72'; FEATURES @@ -834,10 +833,8 @@ 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 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. +This feature is enabled under this name from Perl 5.34 onwards. In +previous versions it was simply on all the time. You can use the L<bareword::filehandles> module on CPAN to disable bareword filehandles for older versions of perl. |