Help for this page

Select Code to Download


  1. or download this
    my @list1= 1..5;
    my @list2= <a b c d e>;
    for each(@list1, @list2) -> $x, $y {
       say "$x with $y";
       }
    
  2. or download this
    for zip(@a;@b;@c) -> $nth_a, $nth_b, $nth_c {
       ...
     }
    
  3. or download this
    1 a with 2 b
    3 c with 4 d
    5 e with