Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cf222bccab

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README
coroutine.pl
functional.pl
iterative.pl
iterative_2.pl
oo.pl
recursive.pl

README

These are all examples of arbitrarily nested loops in p6
For details, see http://perlmonks.org/?node_id=462987 

For example:

LoopOver( ([1..3], ['a'..'z'], ['foo', 'bar']) );

Where LoopOver needs to figure out dynamically

for 1..3 {
    for 'a'..'z' {
        for <foo bar> {
           ...
        }
    }
} 
Something went wrong with that request. Please try again.