title: How to stop a Perl program from closing its window when it is finished?
body: <p>How can I stop my Perl program from closing the window after finishing execution in windows?</p>
  
  <p>I can run a Hello World Program, but it closes way too quick for me to actually read it.</p>
  
  <pre><code>print "Hello World\n";
  while (1){sleep(1)}
  </code></pre>
  
  <p>Seems to be the only solution I could find, but I'm betting there is a better way to do this.</p>