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.
Get Perl in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.