Help for this page

Select Code to Download


  1. or download this
    for( @male Z @female )->[$m,$f] { # .... }
    
  2. or download this
    for (@male Z @female).tree ->[$m,$f] {
        # ....
    }
    
  3. or download this
    my @array;
    for @male Z @female -> $m, $f {
    ...
    # or
    
    my @array = (@male Z @female).map("$^a $^b");
    
  4. or download this
    my @array = @male Z~ @female; # without joining space
    
  5. or download this
    # with the list repetition operator:
    @array = @male Z~ ' ' xx @male Z~ @female;
    
    # with cross instead of zip:
    @array = @male X~ ' ' Z~ @female;