This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
pod/perlsyn: for is equivalent to "foreach'
authorÆvar Arnfjörð Bjarmason <avar@cpan.org>
Sat, 26 Nov 2011 22:58:22 +0000 (22:58 +0000)
committerÆvar Arnfjörð Bjarmason <avar@cpan.org>
Wed, 30 Nov 2011 23:05:22 +0000 (23:05 +0000)
commit7808b687687543f1e22b9c4c467de99d2a9a6144
treedb70fa4357911c0145cff31eb14adb58210be216
parent768312abb592dc248a35bdb10e334e91dccb8259
pod/perlsyn: for is equivalent to "foreach'

Change the Compound Statements section to not like by omission. Both
for and foreach can be used as C-style and Perl-style for-loops, but
the documentation pretended that "for" was always C-style and
"foreach" was always Perl-style.
pod/perlsyn.pod