title: Why is this program valid? I was trying to create a syntax error
body: <p>I'm running ActiveState's 32 bit <a href="https://www.activestate.com/activeperl" rel="noreferrer">ActivePerl</a> 5.14.2 on Windows 7. I wanted to mess around with a Git pre-commit hook to detect programs being checked in with syntax errors. (Somehow I just managed to do such a bad commit.) So as a test program I randomly jotted this:</p>
  
  <pre><code>use strict;
  use warnings;
  
  Syntax error!
  
  exit 0;
  </code></pre>
  
  <p>However, it compiles and executes with no warnings, and errorlevel is zero on exit. How is this valid syntax?</p>