summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@semiotic.systems>2022-05-21 14:14:29 -0400
committerRicardo Signes <rjbs@semiotic.systems>2022-05-21 14:38:55 -0400
commit7b9834226f396f010f90b6829d0afcabfaccf231 (patch)
tree4703b362a57ea3ceeccfa9b88f5f90b2a06b25c3
parent5a34797bb6f3ee2c01d2330759aa4348d5d98d59 (diff)
downloadperl-7b9834226f396f010f90b6829d0afcabfaccf231.tar.gz
perlexperiment: add documentation for for_list feature
-rw-r--r--pod/perlexperiment.pod12
1 files changed, 12 insertions, 0 deletions
diff --git a/pod/perlexperiment.pod b/pod/perlexperiment.pod
index 727c9e7868..e1fb87f700 100644
--- a/pod/perlexperiment.pod
+++ b/pod/perlexperiment.pod
@@ -152,6 +152,18 @@ elements of it such as C<$_[$index]>, or situations where the default
arguments array is accessed implicitly such as C<shift> or C<pop> without
arguments.
+=item for loop with multiple iteration variables
+
+Introduced in Perl 5.36.0.
+
+Using this feature triggers warnings in the category C<experimental::for_list>.
+
+This feature enables a parenthesized list of iteration variables for C<for>
+rather than a single variable.
+
+The ticket for this experiment is
+L<[perl #18744]|https://github.com/Perl/perl5/issues/18744>.
+
=back
=head2 Accepted features