title: perl Getopt::Long::GetOptions usage
body: <p>I wanted to use <code>Getopt::Long::GetOptions</code> for getting command line options to the script. </p>
  
  <p>I have a requirement like this:</p>
  
  <pre><code>perl script.pl -c &lt;name1&gt; -c &lt;name2&gt; -m &lt;name3&gt; argument
  </code></pre>
  
  <p>Here we have option flags <code>-c</code> and <code>-m</code>m which are optional, and <code>argument</code> is mandatory. </p>
  
  <p>Can anyone point out the correct usage for <code>GetOptions</code>?</p>