From: Clinton Pierce Date: Wed, 21 Jul 1999 16:45:31 +0000 (-0400) Subject: [ID 19990721.004] Documentation bug in perlfunc X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f37986196860fb6f06ab4ac2207a863fdb83f1fe;p=p5sagit%2Fp5-mst-13.2.git [ID 19990721.004] Documentation bug in perlfunc Message-Id: <199907212049.QAA12875@mailfw3.ford.com> Fix by Stephen Potter (visible in the bug db but not in p5p?) p4raw-id: //depot/perl@6517 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index e19d341..09cd437 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -5399,8 +5399,9 @@ called). Note that there is no comma after VERSION! Because this is a wide-open interface, pragmas (compiler directives) are also implemented this way. Currently implemented pragmas are: - use integer; + use constant; use diagnostics; + use integer; use sigtrap qw(SEGV BUS); use strict qw(subs vars refs); use subs qw(afunc blurfl); diff --git a/pod/perlop.pod b/pod/perlop.pod index 3c84e60..0f83ed1 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -196,7 +196,7 @@ 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). -Note than when C is in scope, "%" give you direct access +Note than when C is in scope, "%" gives 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.