Name
config
Synopsis
Getopt::Long::config(optionlist)
Sets the variables in optionlist
to change the default behavior of GetOptions. The following options are
available:
$Getopt::Long::autoabbrevIf true, option names can be invoked with unique abbreviations. Default is
1(true) unless the environment variablePOSIXLY_CORRECThas been set.$Getopt::Long::getopt_compatIf true, options can start with
+. Default is1unless the environment variablePOSIXLY_CORRECThas been set.$Getopt::Long::orderValue indicates whether options and non-options may be mixed on the command line:
$PERMUTENon-options may be mixed with options. The default if
POSIXLY_CORRECTis not set.$REQUIRE_ORDERMixing is not allowed. The default if
POSIXLY_CORRECTis set.
$Getopt::Long::ignorecaseIf true, ignore case when matching options. Default is
1.$Getopt::Long::VERSIONThe version number of this Getopt::Long implementation in the format major.minor.
$Getopt::Long::errorInternal error flag. May be incremented from a callback routine to cause options-parsing to fail.
$Getopt::Long::debugIf true, enables debugging output. Default is
0(false).