Next: main function, Up: main [Contents][Index]
The following global variables are defined by default.
An array containing all the command line arguments. When no command line arguments are present: this array is empty.
A non–negative integer representing the number of values in ARGV1
. When no command line
arguments are present: this variable is set to zero.
A non–negative integer representing the index in ARGV1
of the next argument to be processed.
It is initialised to zero; the actions
module increments it to reflect its consuming of
action arguments; the getopts
module uses this value to locate the first argument to parse.
An array containing all the non–action and non–option command line arguments. When no such
arguments are present: this array is empty. This variable is filled by the getopts
module.
A non–negative integer representing the number of values in ARGV
. When no arguments are
present: this variable is set to zero.
Next: main function, Up: main [Contents][Index]