Author: larry
Date: Mon Jan 22 12:21:27 2007
New Revision: 13534

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

Log:
Tweakage of && and || semantics in support of list comprehensions.


Modified: doc/trunk/design/syn/S03.pod
==============================================================================
--- doc/trunk/design/syn/S03.pod        (original)
+++ doc/trunk/design/syn/S03.pod        Mon Jan 22 12:21:27 2007
@@ -12,9 +12,9 @@
 
   Maintainer: Larry Wall <[EMAIL PROTECTED]>
   Date: 8 Mar 2004
-  Last Modified: 17 Jan 2007
+  Last Modified: 22 Jan 2007
   Number: 3
-  Version: 89
+  Version: 90
 
 =head1 Changes to PerlĀ 5 operators
 
@@ -371,6 +371,11 @@
 may be declared to take extra arguments only if they are named-only
 arguments.)
 
+=item * The C<&&> and C<||> operators are smarter about list context and
+return C<()> on failure in list context rather than C<Bool::False>.  Note
+that this applies only to the left argument--the right argument is always
+returned verbatim if the left succeeds.
+
 =back
 
 =head1 New operators

Reply via email to