Author: larry
Date: Tue Apr 17 11:26:03 2007
New Revision: 14377

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

Log:
Neglected to mention that unless also allows binding of its false parameter


Modified: doc/trunk/design/syn/S04.pod
==============================================================================
--- doc/trunk/design/syn/S04.pod        (original)
+++ doc/trunk/design/syn/S04.pod        Tue Apr 17 11:26:03 2007
@@ -208,7 +208,8 @@
 within the closure you already know whether it evaluated to true
 or false.)  Binding within an C<else> automatically binds the value
 tested by the previous C<if> or C<elsif>, which, while known to be
-false, might nevertheless be an I<interesting> value of false.
+false, might nevertheless be an I<interesting> value of false.  (By similar
+reasoning, an C<unless> allows binding of a false parameter.)
 
 Conditional statement modifiers work as in PerlĀ 5.  So do the
 implicit conditionals implied by short-circuit operators.  Note though that

Reply via email to