Author: larry
Date: Wed Jul  5 16:27:04 2006
New Revision: 9814

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

Log:
bracket mismatch spotted by TreyHarris++


Modified: doc/trunk/design/syn/S04.pod
==============================================================================
--- doc/trunk/design/syn/S04.pod        (original)
+++ doc/trunk/design/syn/S04.pod        Wed Jul  5 16:27:04 2006
@@ -763,8 +763,8 @@
 the start of a statement.  To embed a statement in an expression you
 must use something like C<do {...}> or C<try {...}>.
 
-    $x =  do { given $foo { when 1 {2} when 3 {4} } + $bar;
-    $x = try { given $foo { when 1 {2} when 3 {4} } + $bar;
+    $x =  do { given $foo { when 1 {2} when 3 {4} }} + $bar;
+    $x = try { given $foo { when 1 {2} when 3 {4} }} + $bar;
 
 Just because there's a C<< statement_control:<BEGIN> >> does not preclude us 
from
 also defining a C<< prefix:<BEGIN> >> that I<can> be used within an expression:

Reply via email to