summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2017-12-31 12:54:44 -0800
committerFather Chrysostomos <sprout@cpan.org>2017-12-31 16:22:51 -0800
commit193789ac15b87b3f3a23dc38e9e19500c69dbf28 (patch)
treeb37ec2ab1c9897cf70558165b8564ff206e6b114 /regen
parent401d2aaa50f74cc9e0d089bb6236d5960689c76c (diff)
downloadperl-193789ac15b87b3f3a23dc38e9e19500c69dbf28.tar.gz
Update docs wrt bitwise ops
Diffstat (limited to 'regen')
-rwxr-xr-xregen/feature.pl12
1 files changed, 4 insertions, 8 deletions
diff --git a/regen/feature.pl b/regen/feature.pl
index 4005144f48..ca7a9b3e88 100755
--- a/regen/feature.pl
+++ b/regen/feature.pl
@@ -626,13 +626,6 @@ This feature is available from Perl 5.22 onwards.
=head2 The 'bitwise' feature
-B<WARNING>: This feature is still experimental and the implementation may
-change in future versions of Perl. For this reason, Perl will
-warn when you use the feature, unless you have explicitly disabled the
-warning:
-
- no warnings "experimental::bitwise";
-
This makes the four standard bitwise operators (C<& | ^ ~>) treat their
operands consistently as numbers, and introduces four new dotted operators
(C<&. |. ^. ~.>) that treat their operands consistently as strings. The
@@ -640,7 +633,10 @@ same applies to the assignment variants (C<&= |= ^= &.= |.= ^.=>).
See L<perlop/Bitwise String Operators> for details.
-This feature is available from Perl 5.22 onwards.
+This feature is available from Perl 5.22 onwards. Starting in Perl 5.28,
+C<use v5.28> will enable the feature. Before 5.28, it was still
+experimental and would emit a warning in the "experimental::bitwise"
+category.
=head2 The 'declared_refs' feature