summaryrefslogtreecommitdiff
path: root/lib/feature.pm
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-05-20 23:01:58 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-05-21 16:51:46 -0700
commit52fc5c56ccd9c6bab20246b4f80f558b71ad5d42 (patch)
tree0ec123971e024c45b707835bbdffc4593b14517d /lib/feature.pm
parentf226e9be7c69188b9b91606ccfca77843eaf9a31 (diff)
downloadperl-52fc5c56ccd9c6bab20246b4f80f558b71ad5d42.tar.gz
feature.pl: Make 5.even bundle imply 5.odd
Since the 5.18 feature bundle should be added long before 5.18, to avoid last-minute blunders, and since it’s easy to forget to do it in advance, have feature.pl do it automatically.
Diffstat (limited to 'lib/feature.pm')
-rw-r--r--lib/feature.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/feature.pm b/lib/feature.pm
index bcbfb7a464..37e571fb88 100644
--- a/lib/feature.pm
+++ b/lib/feature.pm
@@ -32,6 +32,7 @@ $feature_bundle{"5.13"} = $feature_bundle{"5.11"};
$feature_bundle{"5.14"} = $feature_bundle{"5.11"};
$feature_bundle{"5.16"} = $feature_bundle{"5.15"};
$feature_bundle{"5.17"} = $feature_bundle{"5.15"};
+$feature_bundle{"5.18"} = $feature_bundle{"5.15"};
$feature_bundle{"5.9.5"} = $feature_bundle{"5.10"};
our $hint_shift = 26;
@@ -247,6 +248,9 @@ The following feature bundles are available:
:5.16 say state switch unicode_strings
unicode_eval evalbytes current_sub fc
+ :5.18 say state switch unicode_strings
+ unicode_eval evalbytes current_sub fc
+
The C<:default> bundle represents the feature set that is enabled before
any C<use feature> or C<no feature> declaration.