Author: lwall Date: 2009-12-17 18:18:31 +0100 (Thu, 17 Dec 2009) New Revision: 29357
Modified: docs/Perl6/Spec/S04-control.pod Log: [S04] 'continue' confuses both C and Perl programmers, so rename to 'nobreak' Modified: docs/Perl6/Spec/S04-control.pod =================================================================== --- docs/Perl6/Spec/S04-control.pod 2009-12-17 14:26:39 UTC (rev 29356) +++ docs/Perl6/Spec/S04-control.pod 2009-12-17 17:18:31 UTC (rev 29357) @@ -13,8 +13,8 @@ Created: 19 Aug 2004 - Last Modified: 15 Dec 2009 - Version: 91 + Last Modified: 17 Dec 2009 + Version: 92 This document summarizes Apocalypse 4, which covers the block and statement syntax of Perl. @@ -895,7 +895,7 @@ block (normally from its last statement) via an implicit C<.leave>.) You can explicitly leave a C<when> block and go to the next statement -following the C<when> by using C<continue>. (Note that, unlike C's +following the C<when> by using C<nobreak>. (Note that, unlike C's idea of "falling through", subsequent C<when> conditions are evaluated. To jump into the next C<when> block without testing its condition, you must use a C<goto>. But generally that means you should refactor