develooper Front page | perl.perl6.language | Postings from April 2006

[svn:perl6-synopsis] r8908 - doc/trunk/design/syn

From:
autrijus
Date:
April 22, 2006 00:22
Subject:
[svn:perl6-synopsis] r8908 - doc/trunk/design/syn
Message ID:
20060422072223.5DA52CB9BC@x12.develooper.com
Author: autrijus
Date: Sat Apr 22 00:22:21 2006
New Revision: 8908

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

Log:
* S03: Document that C<let> and C<temp> forms are not declarators.

Modified: doc/trunk/design/syn/S03.pod
==============================================================================
--- doc/trunk/design/syn/S03.pod	(original)
+++ doc/trunk/design/syn/S03.pod	Sat Apr 22 00:22:21 2006
@@ -535,6 +535,10 @@
 a function, except that, unlike in a function call, the parameters
 are bound C<rw> by default rather than C<readonly>.  See Binding below.
 
+Note that C<temp> and C<let> are I<not> variable declarators, because
+their effects only take place at runtime.  Therefore, they take an ordinary
+lvalue object as their arguments.  See S04 for more details.
+
 There are a number of other declarators that are not variable
 declarators.  These include both type declarators:
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About