Author: lwall Date: 2009-11-02 17:31:00 +0100 (Mon, 02 Nov 2009) New Revision: 28973
Modified: docs/Perl6/Spec/S06-routines.pod Log: [S06] correct $_ placeholder binding from "rw" to "ref", moritz++ Modified: docs/Perl6/Spec/S06-routines.pod =================================================================== --- docs/Perl6/Spec/S06-routines.pod 2009-11-01 22:47:29 UTC (rev 28972) +++ docs/Perl6/Spec/S06-routines.pod 2009-11-02 16:31:00 UTC (rev 28973) @@ -16,8 +16,8 @@ Created: 21 Mar 2003 - Last Modified: 21 Oct 2009 - Version: 121 + Last Modified: 2 Nov 2009 + Version: 122 This document summarizes Apocalypse 6, which covers subroutines and the new type system. @@ -1593,7 +1593,7 @@ other placeholders or signature. Any bare block without placeholders really has a parameter like this: - -> $_ is rw = OUTER::<$_> { .mumble } + -> $_ is ref = OUTER::<$_> { .mumble } (However, statement control C<if> notices this and passes no argument, so C<$_> ends up being bound to the outer C<$_> anyway.)