Getopt::Long
Lets your program accept command-line options
with long names, introduced by --
. Standard single-character
options are also accepted. Options that start with --
may have an
argument appended, following a space or an equals sign (=
):
--foo=bar --foo bar
Provides two functions: GetOptions
and config
.
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.