You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixing old bugs....
Original message:
For both 5.005_02 and 5.005_03 the "use" section of the perl documentation
does not list the pseudo-pragma "use constant", but probably should.
(Other pseudo-pragmas such as "integer" and "diagnostic" are listed.)
Recommended fix to bleadperl, also a grammatical error that just happened
to show up as well.
-spp
Inline Patch
--- perlfunc.orig Thu Jul 27 12:18:14 2000+++ perlfunc.pod Thu Jul 27 12:19:59 2000@@ -5396,8 +5396,9 @@
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);
--- perlop.orig Thu Jul 27 12:20:10 2000+++ perlop.pod Thu Jul 27 12:21:29 2000@@ -196,7 +196,7 @@
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+Note than when C<use integer> 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.
Migrated from rt.perl.org#1025 (status was 'resolved')
Searchable as RT1025$
The text was updated successfully, but these errors were encountered: