Author: lwall
Date: 2009-12-16 02:22:07 +0100 (Wed, 16 Dec 2009)
New Revision: 29346

Modified:
   docs/Perl6/Spec/S04-control.pod
Log:
[S04] slight clarification to break semantics


Modified: docs/Perl6/Spec/S04-control.pod
===================================================================
--- docs/Perl6/Spec/S04-control.pod     2009-12-15 21:14:10 UTC (rev 29345)
+++ docs/Perl6/Spec/S04-control.pod     2009-12-16 01:22:07 UTC (rev 29346)
@@ -891,8 +891,8 @@
 they are passed out via the C<leave> method.  Since leaving a block is
 considered a successful return, breaking out of one is also considered
 a successful return.  (And in fact, the implicit break of a normal
-C<when> block works the same way, returning the value of the final
-statement via an implicit C<.leave>.)
+C<when> block works the same way, returning the value of the entire
+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

Reply via email to