Author: larry
Date: Thu Jan 25 13:50:47 2007
New Revision: 13538

Modified:
   doc/trunk/design/syn/S03.pod
   doc/trunk/design/syn/S04.pod

Log:
Obsoleted block initializer syntax.
Mention div and mod.


Modified: doc/trunk/design/syn/S03.pod
==============================================================================
--- doc/trunk/design/syn/S03.pod        (original)
+++ doc/trunk/design/syn/S03.pod        Thu Jan 25 13:50:47 2007
@@ -1985,7 +1985,7 @@
     autoincrement       ++ --
     exponentiation      **
     symbolic unary      ! + - ~ ? $ @ % & | +^ ~^ ?^ \ ^ =
-    multiplicative      * / % x xx +& +< +> ~& ~< ~> ?&
+    multiplicative      * / % x xx +& +< +> ~& ~< ~> ?& div mod
     additive            + - ~ +| +^ ~| ~^ ?| ?^
     junctive and (all)  &
     junctive or (any)   | ^

Modified: doc/trunk/design/syn/S04.pod
==============================================================================
--- doc/trunk/design/syn/S04.pod        (original)
+++ doc/trunk/design/syn/S04.pod        Thu Jan 25 13:50:47 2007
@@ -12,9 +12,9 @@
 
   Maintainer: Larry Wall <[EMAIL PROTECTED]>
   Date: 19 Aug 2004
-  Last Modified: 22 Jan 2007
+  Last Modified: 25 Jan 2007
   Number: 4
-  Version: 47
+  Version: 48
 
 This document summarizes Apocalypse 4, which covers the block and
 statement syntax of Perl.
@@ -87,13 +87,13 @@
 
 The new C<constant> declarator introduces a lexically scoped name
 for a compile-time constant, either a variable or a 0-ary sub, which
-may be initialized with either a pseudo-assignment or a block:
+may be initialized with a pseudo-assignment:
 
     constant Num $pi = 3;
     constant Num PI { 3 }
     constant Num π  = atan(2,2) * 4;
 
-In any case the initializing value is evaluated at BEGIN time.
+The initializing expression is evaluated at BEGIN time.
 
 There is a new C<state> declarator that introduces a lexically scoped
 variable like C<my> does, but with a lifetime that persists for the

Reply via email to