title: Perl: while with no conditional
body: <p>According to the <a href="http://perldoc.perl.org/perlsyn.html#Compound-Statements" rel="noreferrer">doc</a>, the <code>while</code> statement executes the block as long as the expression is <a href="http://perldoc.perl.org/perlsyn.html#Truth-and-Falsehood" rel="noreferrer">true</a>. I wonder why it becomes an infinite loop with an empty expression:</p>
  
  <pre><code>while () { # infinite loop
   ...
  }
  </code></pre>
  
  <p>Is it just inaccuracy in the doc?</p>