title: How do I convert passed flags/arguments to my Perl program without parsing them myself?
body: <p>I would like to pass a perl program a set of arguments and flags, e.g. <code>my_script.pl --flag1 --arg1=value --flag2 …</code></p>
  
  <p>Is there a way to quickly convert all of these into some standard structure (hash) instead of parsing?</p>
  
  <p>Thanks,
  Dave</p>