summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2012-01-09 02:44:16 -0300
committerKarl Williamson <public@khwilliamson.com>2012-01-29 10:07:40 -0700
commit2a4315f8fb099a3fd3bbd5d9994af3919a6c5b05 (patch)
treec8d072bd39344d9d28c511f1412cfc74967f3424 /regen
parentb36bf33f6564c3e9a9ff131f4f3c9980b7a8af15 (diff)
downloadperl-2a4315f8fb099a3fd3bbd5d9994af3919a6c5b05.tar.gz
Add the fc keyword in regen/feature.pl
It doesn't do anything yet.
Diffstat (limited to 'regen')
-rwxr-xr-xregen/feature.pl16
1 files changed, 13 insertions, 3 deletions
diff --git a/regen/feature.pl b/regen/feature.pl
index 2444ad118d..0a232713a9 100755
--- a/regen/feature.pl
+++ b/regen/feature.pl
@@ -30,6 +30,7 @@ my %feature = (
current_sub => '__SUB__',
unicode_eval => 'unieval',
unicode_strings => 'unicode',
+ fc => 'fc',
);
# NOTE: If a feature is ever enabled in a non-contiguous range of Perl
@@ -45,9 +46,9 @@ my %feature_bundle = (
"5.13" => [qw(say state switch unicode_strings array_base)],
"5.14" => [qw(say state switch unicode_strings array_base)],
"5.15" => [qw(say state switch unicode_strings unicode_eval
- evalbytes current_sub)],
+ evalbytes current_sub fc)],
"5.16" => [qw(say state switch unicode_strings unicode_eval
- evalbytes current_sub)],
+ evalbytes current_sub fc)],
);
@@ -330,7 +331,7 @@ read_only_bottom_close_and_rename($h);
__END__
package feature;
-our $VERSION = '1.25';
+our $VERSION = '1.26';
FEATURES
@@ -505,6 +506,15 @@ This feature is available under this name starting with Perl 5.16. In
previous versions, it was simply on all the time, and this pragma knew
nothing about it.
+=head2 The 'fc' feature
+
+C<use feature 'fc'> tells the compiler to enable the C<fc> function,
+which implements Unicode casefolding.
+
+See L<perlfunc/fc> for details.
+
+This feature is available from Perl 5.16 onwards.
+
=head1 FEATURE BUNDLES
It's possible to load multiple features together, using