File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -166,13 +166,17 @@ all the elements starting from index C<$start> are deleted.
166
166
167
167
Each of C < $start > and C < $elems > can be specified as a
168
168
L < Whatever|/type/Whatever > or as a L < Callable|/type/Callable > that returns an
169
- C < int > -compatible value. A C < Whatever > C < $start > uses the number of elements
169
+ C < int > -compatible value.
170
+
171
+ A C < Whatever > C < $start > uses the number of elements
170
172
of C < @list > (or invocant). A C < Callable > C < $start > is called with one
171
173
argument—the number of elements in C < @list > —and its return value is used
172
- as C < $start > . A C < Whatever > C < $elems > deletes from C < $start > to end of
174
+ as C < $start > .
175
+
176
+ A C < Whatever > C < $elems > deletes from C < $start > to end of
173
177
C < @list > (same as no C < $elems > ). A C < Callable > C < $elements > is called with
174
- two arguments —the number of elements in C < @list > and the value of C < $start > —and its
175
- return value is used the value of C < $elems > .
178
+ just one argument —the number of elements in C < @list > minus the value of
179
+ C < $start > —and its return value is used the value of C < $elems > .
176
180
177
181
Example:
178
182
You can’t perform that action at this time.
0 commit comments