title: How can I have variable assertions in Perl?
body: <p>How can I check that a variable has a specific value in Perl? Is there a command to stop a script's execution to look up some of it's variables?</p>
  
  <p>I wonder if I can use the Pythonic practice of inserting:</p>
  
  <pre><code>    assert 0, (foo, bar)
  </code></pre>
  
  <p>to debug scripts in a debuger-less way?</p>