File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -75,11 +75,12 @@ possible to use `my` variables for this.
75
75
### ` map my (VAR, VAR) BLOCK LIST `
76
76
77
77
This will evaluate ` BLOCK ` for each set of two elements in ` LIST ` , aliasing
78
- the ` VAR ` to the first of each set, and the second ` VAR ` to the second. If
79
- there is not a multiple of two items in ` LIST ` , the last run of ` BLOCK ` will
80
- assign ` undef ` to the extra ` VAR ` slot not corresponding to an element in
81
- ` LIST ` . More than two variables can be used to iterate over sets of three or
82
- more items.
78
+ the ` VAR ` to the first of each set, and the second ` VAR ` to the second. More
79
+ than two variables can be used to iterate over sets of three or more items.
80
+
81
+ On the last iteration, there may not be enough elements remaining to fill
82
+ every ` VAR ` slot. In this case the extra ` VAR ` slots will be filled with
83
+ ` undef ` .
83
84
84
85
## Backwards Compatibility
85
86
You can’t perform that action at this time.
0 commit comments