Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Processes single-character, command-line options with option clustering. Exports two functions, which analyze @ARGV, extract information about the options, and return this information to your program in a set of variables. Processing of @ARGV stops when an argument without a leading - is encountered, if that argument is not associated with a preceding option. Otherwise, @ARGV is processed to the end and left empty.
| getopt |
getopt ('switches'[, \%opts])
|