1Getopt::Long::DescriptiUvsee:r:OCpotnst(r3i)buted Perl DGoectuompetn:t:aLtoinogn::Descriptive::Opts(3)
2
3
4
6 Getopt::Long::Descriptive::Opts - object representing command line
7 switches
8
10 version 0.103
11
13 This class is the base class of all $opt objects returned by
14 Getopt::Long::Descriptive. In general, you do not want to think about
15 this class, look at it, or alter it. Seriously, it's pretty dumb.
16
17 Every call to "describe_options" will return a object of a new subclass
18 of this class. It will have a method for the canonical name of each
19 option possible given the option specifications.
20
21 Method names beginning with an single underscore are public, and are
22 named that way to avoid conflict with automatically generated methods.
23 Methods with multiple underscores (in case you're reading the source)
24 are private.
25
27 Achtung! All methods beginning with an underscore are experimental as
28 of today, 2009-12-12. They are likely to be formally made permanent
29 soon.
30
31 _specified
32 This method returns true if the given name was specified on the command
33 line.
34
35 For example, if @ARGS was ""--foo --bar 10"" and "baz" is defined by a
36 default, "_specified" will return true for foo and bar, and false for
37 baz.
38
39 _specified_opts
40 This method returns an opt object in which only explicitly specified
41 values are defined. Values which were set by defaults will appear
42 undef.
43
44 _complete_opts
45 This method returns the opts object with all values, including those
46 set by defaults. It is probably not going to be very often-used.
47
49 · Hans Dieter Pearcey <hdp@cpan.org>
50
51 · Ricardo Signes <rjbs@cpan.org>
52
54 This software is copyright (c) 2005 by Hans Dieter Pearcey.
55
56 This is free software; you can redistribute it and/or modify it under
57 the same terms as the Perl 5 programming language system itself.
58
59
60
61perl v5.28.0 2018-08-02Getopt::Long::Descriptive::Opts(3)