title: Run a Perl script in debugging mode
body: <p>How can I run a Perl script in debugging mode (like "bash -x" for shell scripts)?</p>
  
  <p>I tried the <code>-w</code> parameter like the following example:</p>
  
  <pre><code>#!/usr/bin/perl -w
  </code></pre>
  
  <p>But it didn't work out.</p>