title: What is the difference between "||" and "or" in Perl?
body: <p>What is the difference between the C-style operators <code>&amp;&amp;</code>, <code>||</code>, ... and their Perl human-readable version "<code>and</code>", "<code>or</code>", ...?</p>
  
  <p>It seems that <em>Internet code</em> uses them both:</p>
  
  <pre><code>open (FILE, $file) or die("cannot open $file");
  open (FILE, $file) || die("cannot open $file");
  </code></pre>