summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-05-15 02:41:58 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-05-15 02:41:58 +0000
commit2072e2ebd308690ed7ca6a7bf8c91f02415d7aed (patch)
tree051c5ca4ce1910143237cc92caf129a28ce98436 /pod/perlop.pod
parentf9f4790fc02ee8e9c1e953973bc4c1cb491bac45 (diff)
downloadperl-2072e2ebd308690ed7ca6a7bf8c91f02415d7aed.tar.gz
[win32] merge changes#922,944,949,965,970 from maintbranch
p4raw-link: @970 on //depot/maint-5.004/perl: 5362f8886d6c3fb908c863d910b1a158479419e2 p4raw-link: @965 on //depot/maint-5.004/perl: 8472ac73d6d802946d766b5459d2d9c334889a3f p4raw-link: @949 on //depot/maint-5.004/perl: 4b161ae29769b4a3eb304314bbbfe5969417c8ec p4raw-link: @944 on //depot/maint-5.004/perl: fa366f5fbba3f21113f9677105663454a3e0b678 p4raw-link: @922 on //depot/maint-5.004/perl: 68daf0ababdc0e913335a90c4361b792b2715301 p4raw-id: //depot/win32/perl@978
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index e4088ec9c4..538745dd6a 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -186,6 +186,11 @@ C<$a>. If C<$b> is negative, then C<$a % $b> is C<$a> minus the
smallest multiple of C<$b> that is not less than C<$a> (i.e. the
result will be less than or equal to zero).
+Note than when C<use integer> is in scope "%" give you direct access
+to the modulus operator as implemented by your C compiler. This
+operator is not as well defined for negative operands, but it will
+execute faster.
+
Binary "x" is the repetition operator. In a scalar context, it
returns a string consisting of the left operand repeated the number of
times specified by the right operand. In a list context, if the left