summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-14 23:45:58 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-14 23:45:58 +0000
commit6bb4e6d4b29a3eb5c60219c3bd690a32ca618ec1 (patch)
tree61832b45c50c1b334b7dcc62bc7d646eadba2e36 /pod/perlop.pod
parentc5e5ff497da83a9ccc6d46e60221c1e0aed4898d (diff)
downloadperl-6bb4e6d4b29a3eb5c60219c3bd690a32ca618ec1.tar.gz
doc patches from Gisle Aas <gisle@aas.no>
Date: 14 Jul 1998 16:18:31 +0200 Message-ID: <m33ec4cy88.fsf@furu.g.aas.no> Subject: [PATCH] substr/splice changes for perldelta.pod -- Date: 14 Jul 1998 20:31:27 +0200 Message-ID: <m3hg0kqo74.fsf@furu.g.aas.no> Subject: [PATCH] Duplicate description of use integer % p4raw-id: //depot/perl@1494
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod5
1 files changed, 1 insertions, 4 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index d9cfccf948..07ff51ac21 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -187,10 +187,7 @@ operands C<$a> and C<$b>: If C<$b> is positive, then C<$a % $b> is
C<$a> minus the largest multiple of C<$b> that is not greater than
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). If C<use integer> is
-in effect, the native hardware will be used instead of this rule,
-which may be construed a bug that will be fixed at some point.
-
+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