home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / perl5 / Getopt::Long.z / Getopt::Long
Encoding:
Text File  |  1998-10-30  |  24.3 KB  |  661 lines

  1.  
  2.  
  3.  
  4. GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))                                                GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      GetOptions - extended processing of command line options
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.        use Getopt::Long;
  13.        $result = GetOptions (...option-descriptions...);
  14.  
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      The Getopt::Long module implements an extended getopt function called
  18.      _G_e_t_O_p_t_i_o_n_s(). This function adheres to the POSIX syntax for command line
  19.      options, with GNU extensions. In general, this means that options have
  20.      long names instead of single letters, and are introduced with a double
  21.      dash "--". Support for bundling of command line options, as was the case
  22.      with the more traditional single-letter approach, is provided but not
  23.      enabled by default. For example, the UNIX "ps" command can be given the
  24.      command line "option"
  25.  
  26.        -vax
  27.  
  28.      which means the combination of ----vvvv, ----aaaa and ----xxxx. With the new syntax --------vvvvaaaaxxxx
  29.      would be a single option, probably indicating a computer architecture.
  30.  
  31.      Command line options can be used to set values. These values can be
  32.      specified in one of two ways:
  33.  
  34.        --size 24
  35.        --size=24
  36.  
  37.      GetOptions is called with a list of option-descriptions, each of which
  38.      consists of two elements: the option specifier and the option linkage.
  39.      The option specifier defines the name of the option and, optionally, the
  40.      value it can take. The option linkage is usually a reference to a
  41.      variable that will be set when the option is used. For example, the
  42.      following call to GetOptions:
  43.  
  44.        GetOptions("size=i" => \$offset);
  45.  
  46.      will accept a command line option "size" that must have an integer value.
  47.      With a command line of "--size 24" this will cause the variable $offset
  48.      to get the value 24.
  49.  
  50.      Alternatively, the first argument to GetOptions may be a reference to a
  51.      HASH describing the linkage for the options, or an object whose class is
  52.      based on a HASH. The following call is equivalent to the example above:
  53.  
  54.        %optctl = ("size" => \$offset);
  55.        GetOptions(\%optctl, "size=i");
  56.  
  57.      Linkage may be specified using either of the above methods, or both.
  58.      Linkage specified in the argument list takes precedence over the linkage
  59.      specified in the HASH.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))                                                GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))
  71.  
  72.  
  73.  
  74.      The command line options are taken from array @ARGV. Upon completion of
  75.      GetOptions, @ARGV will contain the rest (i.e. the non-options) of the
  76.      command line.
  77.  
  78.      Each option specifier designates the name of the option, optionally
  79.      followed by an argument specifier. Values for argument specifiers are:
  80.  
  81.      <none>  Option does not take an argument. The option variable will be set
  82.              to 1.
  83.  
  84.      !       Option does not take an argument and may be negated, i.e.
  85.              prefixed by "no". E.g. "foo!" will allow --------ffffoooooooo (with value 1) and
  86.              ----nnnnooooffffoooooooo (with value 0).  The option variable will be set to 1, or
  87.              0 if negated.
  88.  
  89.      =s      Option takes a mandatory string argument.  This string will be
  90.              assigned to the option variable.  Note that even if the string
  91.              argument starts with ---- or --------, it will not be considered an option
  92.              on itself.
  93.  
  94.      :s      Option takes an optional string argument.  This string will be
  95.              assigned to the option variable.  If omitted, it will be assigned
  96.              "" (an empty string).  If the string argument starts with ---- or
  97.              --------, it will be considered an option on itself.
  98.  
  99.      =i      Option takes a mandatory integer argument.  This value will be
  100.              assigned to the option variable.  Note that the value may start
  101.              with ---- to indicate a negative value.
  102.  
  103.      :i      Option takes an optional integer argument.  This value will be
  104.              assigned to the option variable.  If omitted, the value 0 will be
  105.              assigned.  Note that the value may start with ---- to indicate a
  106.              negative value.
  107.  
  108.      =f      Option takes a mandatory real number argument.  This value will
  109.              be assigned to the option variable.  Note that the value may
  110.              start with ---- to indicate a negative value.
  111.  
  112.      :f      Option takes an optional real number argument.  This value will
  113.              be assigned to the option variable.  If omitted, the value 0 will
  114.              be assigned.
  115.  
  116.      A lone dash ---- is considered an option, the corresponding option name is
  117.      the empty string.
  118.  
  119.      A double dash on itself -------- signals end of the options list.
  120.  
  121.      LLLLiiiinnnnkkkkaaaaggggeeee ssssppppeeeecccciiiiffffiiiiccccaaaattttiiiioooonnnn
  122.  
  123.      The linkage specifier is optional. If no linkage is explicitly specified
  124.      but a ref HASH is passed, GetOptions will place the value in the HASH.
  125.      For example:
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))                                                GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))
  137.  
  138.  
  139.  
  140.        %optctl = ();
  141.        GetOptions (\%optctl, "size=i");
  142.  
  143.      will perform the equivalent of the assignment
  144.  
  145.        $optctl{"size"} = 24;
  146.  
  147.      For array options, a reference to an array is used, e.g.:
  148.  
  149.        %optctl = ();
  150.        GetOptions (\%optctl, "sizes=i@");
  151.  
  152.      with command line "-sizes 24 -sizes 48" will perform the equivalent of
  153.      the assignment
  154.  
  155.        $optctl{"sizes"} = [24, 48];
  156.  
  157.      For hash options (an option whose argument looks like "name=value"), a
  158.      reference to a hash is used, e.g.:
  159.  
  160.        %optctl = ();
  161.        GetOptions (\%optctl, "define=s%");
  162.  
  163.      with command line "--define foo=hello --define bar=world" will perform
  164.      the equivalent of the assignment
  165.  
  166.        $optctl{"define"} = {foo=>'hello', bar=>'world')
  167.  
  168.      If no linkage is explicitly specified and no ref HASH is passed,
  169.      GetOptions will put the value in a global variable named after the
  170.      option, prefixed by "opt_". To yield a usable Perl variable, characters
  171.      that are not part of the syntax for variables are translated to
  172.      underscores. For example, "--fpp-struct-return" will set the variable
  173.      $opt_fpp_struct_return. Note that this variable resides in the namespace
  174.      of the calling program, not necessarily mmmmaaaaiiiinnnn.  For example:
  175.  
  176.        GetOptions ("size=i", "sizes=i@");
  177.  
  178.      with command line "-size 10 -sizes 24 -sizes 48" will perform the
  179.      equivalent of the assignments
  180.  
  181.        $opt_size = 10;
  182.        @opt_sizes = (24, 48);
  183.  
  184.      A lone dash ---- is considered an option, the corresponding Perl identifier
  185.      is $opt_ .
  186.  
  187.      The linkage specifier can be a reference to a scalar, a reference to an
  188.      array, a reference to a hash or a reference to a subroutine.
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))                                                GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))
  203.  
  204.  
  205.  
  206.      If a REF SCALAR is supplied, the new value is stored in the referenced
  207.      variable. If the option occurs more than once, the previous value is
  208.      overwritten.
  209.  
  210.      If a REF ARRAY is supplied, the new value is appended (pushed) to the
  211.      referenced array.
  212.  
  213.      If a REF HASH is supplied, the option value should look like "key" or
  214.      "key=value" (if the "=value" is omitted then a value of 1 is implied).
  215.      In this case, the element of the referenced hash with the key "key" is
  216.      assigned "value".
  217.  
  218.      If a REF CODE is supplied, the referenced subroutine is called with two
  219.      arguments: the option name and the option value.  The option name is
  220.      always the true name, not an abbreviation or alias.
  221.  
  222.      AAAAlllliiiiaaaasssseeeessss aaaannnndddd aaaabbbbbbbbrrrreeeevvvviiiiaaaattttiiiioooonnnnssss
  223.  
  224.      The option name may actually be a list of option names, separated by
  225.      "|"s, e.g. "foo|bar|blech=s". In this example, "foo" is the true name of
  226.      this option. If no linkage is specified, options "foo", "bar" and "blech"
  227.      all will set $opt_foo.
  228.  
  229.      Option names may be abbreviated to uniqueness, depending on configuration
  230.      option aaaauuuuttttoooo____aaaabbbbbbbbrrrreeeevvvv.
  231.  
  232.      NNNNoooonnnn----ooooppppttttiiiioooonnnn ccccaaaallllllll----bbbbaaaacccckkkk rrrroooouuuuttttiiiinnnneeee
  233.  
  234.      A special option specifier, <>, can be used to designate a subroutine to
  235.      handle non-option arguments. GetOptions will immediately call this
  236.      subroutine for every non-option it encounters in the options list.  This
  237.      subroutine gets the name of the non-option passed.  This feature requires
  238.      configuration option ppppeeeerrrrmmmmuuuutttteeee, see section CONFIGURATION OPTIONS.
  239.  
  240.      See also the examples.
  241.  
  242.      OOOOppppttttiiiioooonnnn ssssttttaaaarrrrtttteeeerrrrssss
  243.  
  244.      On the command line, options can start with ---- (traditional), -------- (POSIX)
  245.      and ++++ (GNU, now being phased out). The latter is not allowed if the
  246.      environment variable PPPPOOOOSSSSIIIIXXXXLLLLYYYY____CCCCOOOORRRRRRRREEEECCCCTTTT has been defined.
  247.  
  248.      Options that start with "--" may have an argument appended, separated
  249.      with an "=", e.g. "--foo=bar".
  250.  
  251.      RRRReeeettttuuuurrrrnnnn vvvvaaaalllluuuueeee
  252.  
  253.      A return status of 0 (false) indicates that the function detected one or
  254.      more errors.
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.                                                                         PPPPaaaaggggeeee 4444
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268. GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))                                                GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))
  269.  
  270.  
  271.  
  272. CCCCOOOOMMMMPPPPAAAATTTTIIIIBBBBIIIILLLLIIIITTTTYYYY
  273.      _G_e_t_o_p_t::_L_o_n_g::_G_e_t_O_p_t_i_o_n_s() is the successor of nnnneeeewwwwggggeeeettttoooopppptttt....ppppllll that came
  274.      with Perl 4. It is fully upward compatible.  In fact, the Perl 5 version
  275.      of newgetopt.pl is just a wrapper around the module.
  276.  
  277.      If an "@" sign is appended to the argument specifier, the option is
  278.      treated as an array. _V_a_l_u_e(s) are not set, but pushed into array
  279.      @opt_name. If explicit linkage is supplied, this must be a reference to
  280.      an ARRAY.
  281.  
  282.      If an "%" sign is appended to the argument specifier, the option is
  283.      treated as a hash. _V_a_l_u_e(s) of the form "name=value" are set by setting
  284.      the element of the hash %opt_name with key "name" to "value" (if the
  285.      "=value" portion is omitted it defaults to 1). If explicit linkage is
  286.      supplied, this must be a reference to a HASH.
  287.  
  288.      If configuration option ggggeeeettttoooopppptttt____ccccoooommmmppppaaaatttt is set (see section CONFIGURATION
  289.      OPTIONS), options that start with "+" or "-" may also include their
  290.      arguments, e.g. "+foo=bar". This is for compatiblity with older
  291.      implementations of the GNU "getopt" routine.
  292.  
  293.      If the first argument to GetOptions is a string consisting of only non-
  294.      alphanumeric characters, it is taken to specify the option starter
  295.      characters. Everything starting with one of these characters from the
  296.      starter will be considered an option. UUUUssssiiiinnnngggg aaaa ssssttttaaaarrrrtttteeeerrrr aaaarrrrgggguuuummmmeeeennnntttt iiiissss
  297.      ssssttttrrrroooonnnnggggllllyyyy ddddeeeepppprrrreeeeccccaaaatttteeeedddd....
  298.  
  299.      For convenience, option specifiers may have a leading ---- or --------, so it is
  300.      possible to write:
  301.  
  302.         GetOptions qw(-foo=s --bar=i --ar=s);
  303.  
  304.  
  305. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  306.      If the option specifier is "one:i" (i.e. takes an optional integer
  307.      argument), then the following situations are handled:
  308.  
  309.         -one -two            -> $opt_one = '', -two is next option
  310.         -one -2              -> $opt_one = -2
  311.  
  312.      Also, assume specifiers "foo=s" and "bar:s" :
  313.  
  314.         -bar -xxx            -> $opt_bar = '', '-xxx' is next option
  315.         -foo -bar            -> $opt_foo = '-bar'
  316.         -foo --              -> $opt_foo = '--'
  317.  
  318.      In GNU or POSIX format, option names and values can be combined:
  319.  
  320.         +foo=blech           -> $opt_foo = 'blech'
  321.         --bar=               -> $opt_bar = ''
  322.         --bar=--             -> $opt_bar = '--'
  323.  
  324.  
  325.  
  326.  
  327.                                                                         PPPPaaaaggggeeee 5555
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334. GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))                                                GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))
  335.  
  336.  
  337.  
  338.      Example of using variable references:
  339.  
  340.         $ret = GetOptions ('foo=s', \$foo, 'bar=i', 'ar=s', \@ar);
  341.  
  342.      With command line options "-foo blech -bar 24 -ar xx -ar yy" this will
  343.      result in:
  344.  
  345.         $foo = 'blech'
  346.         $opt_bar = 24
  347.         @ar = ('xx','yy')
  348.  
  349.      Example of using the <> option specifier:
  350.  
  351.         @ARGV = qw(-foo 1 bar -foo 2 blech);
  352.         GetOptions("foo=i", \$myfoo, "<>", \&mysub);
  353.  
  354.      Results:
  355.  
  356.         mysub("bar") will be called (with $myfoo being 1)
  357.         mysub("blech") will be called (with $myfoo being 2)
  358.  
  359.      Compare this with:
  360.  
  361.         @ARGV = qw(-foo 1 bar -foo 2 blech);
  362.         GetOptions("foo=i", \$myfoo);
  363.  
  364.      This will leave the non-options in @ARGV:
  365.  
  366.         $myfoo -> 2
  367.         @ARGV -> qw(bar blech)
  368.  
  369.  
  370. CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN OOOOPPPPTTTTIIIIOOOONNNNSSSS
  371.      GGGGeeeettttOOOOppppttttiiiioooonnnnssss can be configured by calling subroutine GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg::::::::ccccoooonnnnffffiiiigggg.
  372.      This subroutine takes a list of quoted strings, each specifying a
  373.      configuration option to be set, e.g.  iiiiggggnnnnoooorrrreeee____ccccaaaasssseeee. Options can be reset
  374.      by prefixing with nnnnoooo____, e.g.  nnnnoooo____iiiiggggnnnnoooorrrreeee____ccccaaaasssseeee. Case does not matter.
  375.      Multiple calls to ccccoooonnnnffffiiiigggg are possible.
  376.  
  377.      Previous versions of Getopt::Long used variables for the purpose of
  378.      configuring. Although manipulating these variables still work, it is
  379.      strongly encouraged to use the new ccccoooonnnnffffiiiigggg routine. Besides, it is much
  380.      easier.
  381.  
  382.      The following options are available:
  383.  
  384.      default     This option causes all configuration options to be reset to
  385.                  their default values.
  386.  
  387.      auto_abbrev Allow option names to be abbreviated to uniqueness.  Default
  388.                  is set unless environment variable POSIXLY_CORRECT has been
  389.                  set, in which case aaaauuuuttttoooo____aaaabbbbbbbbrrrreeeevvvv is reset.
  390.  
  391.  
  392.  
  393.                                                                         PPPPaaaaggggeeee 6666
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400. GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))                                                GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))
  401.  
  402.  
  403.  
  404.      getopt_compat
  405.                  Allow '+' to start options.  Default is set unless
  406.                  environment variable POSIXLY_CORRECT has been set, in which
  407.                  case ggggeeeettttoooopppptttt____ccccoooommmmppppaaaatttt is reset.
  408.  
  409.      require_order
  410.                  Whether non-options are allowed to be mixed with options.
  411.                  Default is set unless environment variable POSIXLY_CORRECT
  412.                  has been set, in which case b<require_order> is reset.
  413.  
  414.                  See also ppppeeeerrrrmmmmuuuutttteeee, which is the opposite of rrrreeeeqqqquuuuiiiirrrreeee____oooorrrrddddeeeerrrr.
  415.  
  416.      permute     Whether non-options are allowed to be mixed with options.
  417.                  Default is set unless environment variable POSIXLY_CORRECT
  418.                  has been set, in which case ppppeeeerrrrmmmmuuuutttteeee is reset.  Note that
  419.                  ppppeeeerrrrmmmmuuuutttteeee is the opposite of rrrreeeeqqqquuuuiiiirrrreeee____oooorrrrddddeeeerrrr.
  420.  
  421.                  If ppppeeeerrrrmmmmuuuutttteeee is set, this means that
  422.  
  423.                      -foo arg1 -bar arg2 arg3
  424.  
  425.                  is equivalent to
  426.  
  427.                      -foo -bar arg1 arg2 arg3
  428.  
  429.                  If a non-option call-back routine is specified, @ARGV will
  430.                  always be empty upon succesful return of GetOptions since all
  431.                  options have been processed, except when -------- is used:
  432.  
  433.                      -foo arg1 -bar arg2 -- arg3
  434.  
  435.                  will call the call-back routine for arg1 and arg2, and
  436.                  terminate leaving arg2 in @ARGV.
  437.  
  438.                  If rrrreeeeqqqquuuuiiiirrrreeee____oooorrrrddddeeeerrrr is set, options processing terminates when
  439.                  the first non-option is encountered.
  440.  
  441.                      -foo arg1 -bar arg2 arg3
  442.  
  443.                  is equivalent to
  444.  
  445.                      -foo -- arg1 -bar arg2 arg3
  446.  
  447.  
  448.      bundling (default: reset)
  449.                  Setting this variable to a non-zero value will allow single-
  450.                  character options to be bundled. To distinguish bundles from
  451.                  long option names, long options must be introduced with --------
  452.                  and single-character options (and bundles) with ----. For
  453.                  example,
  454.  
  455.                      ps -vax --vax
  456.  
  457.  
  458.  
  459.                                                                         PPPPaaaaggggeeee 7777
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466. GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))                                                GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))
  467.  
  468.  
  469.  
  470.                  would be equivalent to
  471.  
  472.                      ps -v -a -x --vax
  473.  
  474.                  provided "vax", "v", "a" and "x" have been defined to be
  475.                  valid options.
  476.  
  477.                  Bundled options can also include a value in the bundle; this
  478.                  value has to be the last part of the bundle, e.g.
  479.  
  480.                      scale -h24 -w80
  481.  
  482.                  is equivalent to
  483.  
  484.                      scale -h 24 -w 80
  485.  
  486.                  Note: resetting bbbbuuuunnnnddddlllliiiinnnngggg also resets bbbbuuuunnnnddddlllliiiinnnngggg____oooovvvveeeerrrrrrrriiiiddddeeee.
  487.  
  488.      bundling_override (default: reset)
  489.                  If bbbbuuuunnnnddddlllliiiinnnngggg____oooovvvveeeerrrrrrrriiiiddddeeee is set, bundling is enabled as with
  490.                  bbbbuuuunnnnddddlllliiiinnnngggg but now long option names override option bundles.
  491.                  In the above example, ----vvvvaaaaxxxx would be interpreted as the option
  492.                  "vax", not the bundle "v", "a", "x".
  493.  
  494.                  Note: resetting bbbbuuuunnnnddddlllliiiinnnngggg____oooovvvveeeerrrrrrrriiiiddddeeee also resets bbbbuuuunnnnddddlllliiiinnnngggg.
  495.  
  496.                  NNNNooootttteeee:::: Using option bundling can easily lead to unexpected
  497.                  results, especially when mixing long options and bundles.
  498.                  Caveat emptor.
  499.  
  500.      ignore_case  (default: set)
  501.                  If set, case is ignored when matching options.
  502.  
  503.                  Note: resetting iiiiggggnnnnoooorrrreeee____ccccaaaasssseeee also resets iiiiggggnnnnoooorrrreeee____ccccaaaasssseeee____aaaallllwwwwaaaayyyyssss.
  504.  
  505.      ignore_case_always (default: reset)
  506.                  When bundling is in effect, case is ignored on single-
  507.                  character options also.
  508.  
  509.                  Note: resetting iiiiggggnnnnoooorrrreeee____ccccaaaasssseeee____aaaallllwwwwaaaayyyyssss also resets iiiiggggnnnnoooorrrreeee____ccccaaaasssseeee.
  510.  
  511.      pass_through (default: reset)
  512.                  Unknown options are passed through in @ARGV instead of being
  513.                  flagged as errors. This makes it possible to write wrapper
  514.                  scripts that process only part of the user supplied options,
  515.                  and passes the remaining options to some other program.
  516.  
  517.                  This can be very confusing, especially when ppppeeeerrrrmmmmuuuutttteeee is also
  518.                  set.
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.                                                                         PPPPaaaaggggeeee 8888
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532. GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))                                                GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))
  533.  
  534.  
  535.  
  536.      debug (default: reset)
  537.                  Enable copious debugging output.
  538.  
  539. OOOOTTTTHHHHEEEERRRR UUUUSSSSEEEEFFFFUUUULLLL VVVVAAAARRRRIIIIAAAABBBBLLLLEEEESSSS
  540.      $Getopt::Long::VERSION
  541.                  The version number of this Getopt::Long implementation in the
  542.                  format major.minor. This can be used to have Exporter check
  543.                  the version, e.g.
  544.  
  545.                      use Getopt::Long 3.00;
  546.  
  547.                  You can inspect $Getopt::Long::major_version and
  548.                  $Getopt::Long::minor_version for the individual components.
  549.  
  550.      $Getopt::Long::error
  551.                  Internal error flag. May be incremented from a call-back
  552.                  routine to cause options parsing to fail.
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.                                                                         PPPPaaaaggggeeee 9999
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))                                                GGGGeeeettttoooopppptttt::::::::LLLLoooonnnngggg((((3333))))
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.                                                                        PPPPaaaaggggeeee 11110000
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.