1Test::Smoke::App::AppOpUtsieornCCoolnltercitbiuotne(d3T)Peesrtl::DSomcoukmee:n:tAaptpi:o:nAppOptionCollection(3)
2
3
4

NAME

6       Test::Smoke::App::AppOptionCollection - A collection of AppOption
7       objects.
8

DESCRIPTION

10   Test::Smoke::App::AppOptionCollection->new()
11       Arguments
12
13       An optional list of Test::Smoke::App::AppOption objects.
14
15       Returns
16
17       An instatiated object.
18
19       Exceptions
20
21       None.
22
23   $collection->add(@arguments)
24       Add the Getopt::Long option and default to the collection. Also add the
25       Test::Smoke::App::AppOption-show_helptext()> to the running helptext
26       variable.
27
28       Arguments
29
30       A list of Test::Smoke::AppOption objects.
31
32       Returns
33
34       The object.
35
36       Exceptions
37
38       None.
39
40   $collection->add_helptext($string)
41       Adds a string to the currently build up helptext variable.
42
43   $collection->options_with_default()
44       Arguments
45
46       None
47
48       Returns
49
50       A hasref to a struct with only the defaults set from object
51       construction.
52
53   $collection->options_for_cli()
54       Arguments
55
56       None
57
58       Returns
59
60       A hashref with options that have a CODEref as default.
61
62       Exceptions
63
64       None
65
66   $collection->all_options()
67       Arguments
68
69       None.
70
71       Returns
72
73       A hashref with all options and theire coded default.
74
75       Exceptions
76
77       None.
78
80       (c) 2002-2013, Abe Timmerman <abeltje@cpan.org> All rights reserved.
81
82       With contributions from Jarkko Hietaniemi, Merijn Brand, Campo
83       Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop,
84       Rich Rauenzahn, David Cantrell.
85
86       This library is free software; you can redistribute it and/or modify it
87       under the same terms as Perl itself.
88
89       See:
90
91       ·   <http://www.perl.com/perl/misc/Artistic.html>
92
93       ·   <http://www.gnu.org/copyleft/gpl.html>
94
95       This program is distributed in the hope that it will be useful, but
96       WITHOUT ANY WARRANTY; without even the implied warranty of
97       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
98
99
100
101perl v5.30.0                      2019-T0e8s-t1:9:Smoke::App::AppOptionCollection(3)
Impressum