Skip to content

Commit e79b820

Browse files
bookGrinnz
andcommitted
mention that the bitwise operators also exist in two versions in modern Perl
Co-authored-by: Dan Book <grinnz@grinnz.com>
1 parent 23a787a commit e79b820

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pod/perlop.pod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ two numbers for equality, and S<C<$x eq $y>> compares two strings.
2121
There are a few exceptions though: The operator C<x> can be either string
2222
repetition or list repetition, depending on the type of the left
2323
operand, and C<&>, C<|>, C<^> and C<~> can be either string or numeric bit
24-
operations.
24+
operations (unless C<use v5.28> or later, or L<feature/"The 'bitwise' feature">
25+
is in effect, in which case a different version of each operator exists
26+
for manipulating strings).
2527

2628
=head2 Operator Precedence and Associativity
2729
X<operator, precedence> X<precedence> X<associativity>

0 commit comments

Comments
 (0)