develooper Front page | perl.perl6.language | Postings from February 2010

r29846 - docs/Perl6/Spec

From:
pugs-commits
Date:
February 25, 2010 09:18
Subject:
r29846 - docs/Perl6/Spec
Message ID:
20100225171712.3687.qmail@feather.perl6.nl
Author: lwall
Date: 2010-02-25 18:17:12 +0100 (Thu, 25 Feb 2010)
New Revision: 29846

Modified:
   docs/Perl6/Spec/S12-objects.pod
Log:
[S12] failure to communicate noticed by masak++


Modified: docs/Perl6/Spec/S12-objects.pod
===================================================================
--- docs/Perl6/Spec/S12-objects.pod	2010-02-25 16:17:54 UTC (rev 29845)
+++ docs/Perl6/Spec/S12-objects.pod	2010-02-25 17:17:12 UTC (rev 29846)
@@ -892,9 +892,10 @@
 to throw away the rest of the candidate list, and the subsequent
 return from the current method will produce the final C<Capture>
 in the returned list.  (If you were already on the last call of the
-candidate list, it is a no-op, it does not proceed on towards any
-outer dispatcher's candidate list until you have returned from the
-last call to the current list.)
+candidate list, no candidates are thrown away, only the list.  So
+you can't accidentally throw away the wrong list by running off the
+end, since the candidate list is ordinarily not thrown away by the
+dispatcher until after the last call.)
 
 Since it's possible to be dispatching within more than one candidate
 list at a time, these control flow calls are defined to apply only to




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About