Author: larry
Date: Tue Jan 22 18:07:38 2008
New Revision: 14495

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

Log:
Clarify that START is allowed to use parameter values on first call while INIT 
is not.


Modified: doc/trunk/design/syn/S04.pod
==============================================================================
--- doc/trunk/design/syn/S04.pod        (original)
+++ doc/trunk/design/syn/S04.pod        Tue Jan 22 18:07:38 2008
@@ -12,9 +12,9 @@
 
   Maintainer: Larry Wall <[EMAIL PROTECTED]>
   Date: 19 Aug 2004
-  Last Modified: 7 Dec 2007
+  Last Modified: 22 Jan 2008
   Number: 4
-  Version: 62
+  Version: 63
 
 This document summarizes Apocalypse 4, which covers the block and
 statement syntax of Perl.
@@ -999,6 +999,8 @@
 last possible moment, then runs exactly once, and caches its value
 for all subsequent calls (assuming it wasn't called in void context,
 in which case the C<START> is evaluated once only for its side effects).
+In particular, this means that C<START> can make use of any parameters
+passed in on the first call, whereas C<INIT> cannot.
 
 All of these trait blocks can see any previously declared lexical
 variables, even if those variables have not been elaborated yet when

Reply via email to