Author: audreyt
Date: Wed Sep 20 03:22:42 2006
New Revision: 12246
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: TreyHarris++ pointed out another slurpy-star legacy.
Modified: doc/trunk/design/syn/S06.pod
==============================================================================
--- doc/trunk/design/syn/S06.pod (original)
+++ doc/trunk/design/syn/S06.pod Wed Sep 20 03:22:42 2006
@@ -15,7 +15,7 @@
Date: 21 Mar 2003
Last Modified: 20 Sept 2006
Number: 6
- Version: 55
+ Version: 56
This document summarizes Apocalypse 6, which covers subroutines and the
@@ -2118,7 +2118,7 @@
It can then be passed to C<call> as C<*$args>:
# Double the return value for &thermo
- &thermo.wrap( -> \$args { call(*$args) * 2 } );
+ &thermo.wrap( -> \$args { call([,] =$args) * 2 } );
The wrapper is not required to call the original routine; it can call another
C<Code> object by passing the C<Capture> to its C<call> method: