Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

mention that we force sink context on some loops

  • Loading branch information...
commit 2387578626a1648966c2c35375cd1f7dc94287bc 1 parent 51a72a0
@TimToady TimToady authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  S07-lists.pod
3  S07-lists.pod
@@ -247,6 +247,9 @@ that is "known infinite" or upon reaching the end of the sequence.
The C<for> loop and looping routines such as C<map>, C<grep>, etc. are
Mostly Lazy by default, but will be eager when evaluated in sink context.
+(Note, however, that we force C<for>, C<while>, C<until>, C<repeat> and
+C<loop> loops to always be in sink context when used as a statement within
+a statementlist.)
=item Slurpy parameters

0 comments on commit 2387578

Please sign in to comment.
Something went wrong with that request. Please try again.