title: How to print program usage in Perl?
body: <p>What's the easiest to maintain way of printing a Perl program's usage to stdout? I am looking for heredoc tricks or anything similarly useful. Forget individual successive prints.</p>
  
  <p>EDIT 1: the issue I have faced many times is to have to maintain usage, general script documentation and option processing separately. I was looking for a way to combine some or all of this with minimal overhead. Thanks for the many suggestions. I will accept an answer when I have an opportunity to experiment proposed solutions.</p>