Perl 5 version 26.2 documentation foreach Perl functions A-Z | Perl functions by category | The 'perlfunc' manpage foreach These flow-control keywords are documented in Compound Statements in perlsyn.