Getopt::Std
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.