This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document empty conditional in for/while
authorPeter Martini <PeterCMartini@GMail.com>
Mon, 2 Jun 2014 11:16:59 +0000 (07:16 -0400)
committerJames E Keenan <jkeenan@cpan.org>
Tue, 24 Jun 2014 11:15:08 +0000 (07:15 -0400)
commit62bd8e4fad23113559e433ef006421d173514730
tree05c4e5c47d0026d53b246ff176ad4baaddee4180
parentb65827489f432c6b8ea39e1ae6abef4e8d8b0723
Document empty conditional in for/while

An empty conditional in both for and while has been treated
as true since perl 1.0.  This has a clear analogue in C/C++
in the case of for(;;), but while() is not legal C and should
be documented.
pod/perlsyn.pod