Author: audreyt
Date: Wed Sep 20 02:41:02 2006
New Revision: 12239

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

Log:
* S06: As &code.call() is specified to take one single
       Capture argument, fix the example in which the
       argument was erroneously flattened.

Modified: doc/trunk/design/syn/S06.pod
==============================================================================
--- doc/trunk/design/syn/S06.pod        (original)
+++ doc/trunk/design/syn/S06.pod        Wed Sep 20 02:41:02 2006
@@ -13,9 +13,9 @@
 
   Maintainer: Larry Wall <[EMAIL PROTECTED]>
   Date: 21 Mar 2003
-  Last Modified: 13 Sept 2006
+  Last Modified: 20 Sept 2006
   Number: 6
-  Version: 54
+  Version: 55
 
 
 This document summarizes Apocalypse 6, which covers subroutines and the
@@ -2124,7 +2124,7 @@
 C<Code> object by passing the C<Capture> to its C<call> method:
 
     # Transparently redirect all calls to &thermo to &other_thermo
-    &thermo.wrap( -> \$args { &other_thermo.call([,] =$args) } );
+    &thermo.wrap( -> \$args { &other_thermo.call($args) } );
 
 Outside a wrapper, C<call> implicitly calls the next-most-likely method
 or multi-sub; see S12 for details.

Reply via email to