diff options
author | Nicholas Clark <nick@ccl4.org> | 2021-06-21 20:29:13 +0000 |
---|---|---|
committer | Ricardo Signes <rjbs@semiotic.systems> | 2021-10-15 09:28:27 -0400 |
commit | 8f5631846920a7d1c689be27bd3e0da651809cc6 (patch) | |
tree | 80f29b4993b1641b148307ba945fb804d157f72f /pod/perlsyn.pod | |
parent | 3b54923c12732530d17e87f548066ceadc63daa4 (diff) | |
download | perl-8f5631846920a7d1c689be27bd3e0da651809cc6.tar.gz |
n-at-a-time for loops now warn by default (as 'experimental::for_list').
Diffstat (limited to 'pod/perlsyn.pod')
-rw-r--r-- | pod/perlsyn.pod | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index a76bb1cf27..c62992f0ca 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -285,6 +285,7 @@ The following compound statements may be used to control flow: As of Perl 5.36, you can iterate over multiple values at a time by specifying a list of lexicals within parentheses + no warnings "experimental::for_list"; LABEL for my (VAR, VAR) (LIST) BLOCK LABEL for my (VAR, VAR) (LIST) BLOCK continue BLOCK LABEL foreach my (VAR, VAR) (LIST) BLOCK |