It's well documented, and saves you from the pitfalls of trying to parse a complex command line yourself.
In particular read the section in Getopt::Long's documentation about "Options with hash values". And the "Summary of Option Specifications".
UPDATE: Since Getopt::Long prefers command line arguments to look like "--option=value", if it is deemed that using Getopt::Long is enough of an advantage to be worth using, you could consider the additional step of setting up a BEGIN{} block that preprocesses the command line arguments to make them look like options so that Getopts::Long can still conveniently put them into a hash for you.
Dave
In reply to Re: parsing arguments
by davido
in thread parsing arguments
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |