title: Perl: After a successful system call, "or die" command still ends script
body: <p>I am using the following line to make a simple system call which works:</p>
  
  <pre><code>system ("mkdir -p Purged") or die "Failed to mkdir." ;
  </code></pre>
  
  <p>Executing the script does make the system call and I can find a directory called Purged, but the error message is still printed and the script dies. What is wrong with my syntax?</p>