Author: larry
Date: Tue Apr 24 16:49:21 2007
New Revision: 14378

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

Log:
cut-n-paste typo noticed by TheDamian++


Modified: doc/trunk/design/syn/S09.pod
==============================================================================
--- doc/trunk/design/syn/S09.pod        (original)
+++ doc/trunk/design/syn/S09.pod        Tue Apr 24 16:49:21 2007
@@ -1063,13 +1063,13 @@
 subscripts that must match the same everywhere that parameter is used.
 For example,
 
-    do -> @wild { @b[[;] reverse @wild] = @a[[;] @wild]; };
+    do -> @wild { @b[[;] reverse @wild] = @a[[;] @wild] };
 
 produces an array with the dimensions reversed regardless of the
 dimensionality of C<@a>.  Since the multidimensional C<@@wild> notation
 is more or less equivalent to C<[;[EMAIL PROTECTED]>, you can also write that 
as:
 
-    do -> @@wild { @b[reverse @@wild] = @a[[;] @@wild]; };
+    do -> @@wild { @b[reverse @@wild] = @a[@@wild] };
 
 The optimizer is, of course, free to optimize away any implicit loops
 that it can figure out how to do more efficiently without changing

Reply via email to