title: How do I use Getopt::Long to parse arguments that may have spaces?
body: <p>I have a shell script that spits out a line as follows:</p>
  
  <pre><code>prog_name -options ...
  </code></pre>
  
  <p>To be specific, as an example:</p>
  
  <p><code>prog_name -filter_arg +define BOOST +noconvtest +actuate-long -disp_arg +define size=40 res=30</code></p>
  
  <p>Please note that there are no quotes above and I do not have control to modify the shell script. [However, I am not sure if I can insert quotes to the above syntax through some other program.].</p>
  
  <p>Now, I want to send the above to a Perl program to parse the options so that it associates
  <code>+define BOOST +noconvtest +actuate-long</code> to the option <code>-filter_arg</code>  and
  <code>+define size=40 res=30</code> to the option <code>-disp_arg</code>.</p>
  
  <p>Can someone please help me do this?</p>