summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2017-12-31 12:24:01 -0800
committerFather Chrysostomos <sprout@cpan.org>2017-12-31 12:24:01 -0800
commit401d2aaa50f74cc9e0d089bb6236d5960689c76c (patch)
treebd466158fd5159dd46363e806d8a9fc774f16f8a /lib
parente4232c8a5f384f4b3948d62f8a5233654cd14f4d (diff)
downloadperl-401d2aaa50f74cc9e0d089bb6236d5960689c76c.tar.gz
Enable bitwise feature with ‘use v5.28’
Diffstat (limited to 'lib')
-rw-r--r--lib/feature.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/feature.pm b/lib/feature.pm
index 70df619e49..1ea74eb8a0 100644
--- a/lib/feature.pm
+++ b/lib/feature.pm
@@ -29,6 +29,7 @@ our %feature_bundle = (
"5.11" => [qw(array_base say state switch unicode_strings)],
"5.15" => [qw(current_sub evalbytes fc say state switch unicode_eval unicode_strings)],
"5.23" => [qw(current_sub evalbytes fc postderef_qq say state switch unicode_eval unicode_strings)],
+ "5.27" => [qw(bitwise current_sub evalbytes fc postderef_qq say state switch unicode_eval unicode_strings)],
"all" => [qw(array_base bitwise current_sub declared_refs evalbytes fc postderef_qq refaliasing say signatures state switch unicode_eval unicode_strings)],
"default" => [qw(array_base)],
);
@@ -46,8 +47,7 @@ $feature_bundle{"5.22"} = $feature_bundle{"5.15"};
$feature_bundle{"5.24"} = $feature_bundle{"5.23"};
$feature_bundle{"5.25"} = $feature_bundle{"5.23"};
$feature_bundle{"5.26"} = $feature_bundle{"5.23"};
-$feature_bundle{"5.27"} = $feature_bundle{"5.23"};
-$feature_bundle{"5.28"} = $feature_bundle{"5.23"};
+$feature_bundle{"5.28"} = $feature_bundle{"5.27"};
$feature_bundle{"5.9.5"} = $feature_bundle{"5.10"};
my %noops = (
postderef => 1,
@@ -56,7 +56,7 @@ my %noops = (
our $hint_shift = 26;
our $hint_mask = 0x1c000000;
-our @hint_bundles = qw( default 5.10 5.11 5.15 5.23 );
+our @hint_bundles = qw( default 5.10 5.11 5.15 5.23 5.27 );
# This gets set (for now) in $^H as well as in %^H,
# for runtime speed of the uc/lc/ucfirst/lcfirst functions.
@@ -390,7 +390,7 @@ The following feature bundles are available:
:5.28 say state switch unicode_strings
unicode_eval evalbytes current_sub fc
- postderef_qq
+ postderef_qq bitwise
The C<:default> bundle represents the feature set that is enabled before
any C<use feature> or C<no feature> declaration.