Author: audreyt Date: Thu May 17 00:29:36 2007 New Revision: 14392 Modified: doc/trunk/design/syn/S02.pod doc/trunk/design/syn/S04.pod doc/trunk/design/syn/S06.pod
Log: * Fix thrice misspelling of &?BLOCK as $?BLOCK. Modified: doc/trunk/design/syn/S02.pod ============================================================================== --- doc/trunk/design/syn/S02.pod (original) +++ doc/trunk/design/syn/S02.pod Thu May 17 00:29:36 2007 @@ -1674,7 +1674,7 @@ @?LABEL Which nested block labels am I in? All the nested C<@?> variables are ordered from the innermost to the -outermost, so C<@?BLOCK[0]> is always the same as C<$?BLOCK>. +outermost, so C<@?BLOCK[0]> is always the same as C<&?BLOCK>. Note that some of these things have parallels in the C<*> space at run time: Modified: doc/trunk/design/syn/S04.pod ============================================================================== --- doc/trunk/design/syn/S04.pod (original) +++ doc/trunk/design/syn/S04.pod Thu May 17 00:29:36 2007 @@ -724,7 +724,7 @@ is really just short for: - $?BLOCK.leave(1,2,3) + &?BLOCK.leave(1,2,3) To return from your immediate caller, you can say: Modified: doc/trunk/design/syn/S06.pod ============================================================================== --- doc/trunk/design/syn/S06.pod (original) +++ doc/trunk/design/syn/S06.pod Thu May 17 00:29:36 2007 @@ -1910,7 +1910,7 @@ and the method's arguments specify the return value. If the object is omitted (by use of the function or listop forms), the innermost block is exited. Otherwise you must use something like C<context> -or C<$?BLOCK> or a contextual variable to specify the scope you +or C<&?BLOCK> or a contextual variable to specify the scope you want to exit. A label (such as a loop label) previously seen in the lexical scope also works as a kind of singleton context object: it names a statement that is serving both as an outer lexical scope