1MooseX::App::ParsedArgvU:s:eErleCmoennttr(i3b)uted PerlMDooocsuemXe:n:tAaptpi:o:nParsedArgv::Element(3)
2
3
4
6 MooseX::App::ParsedArgv::Element - Parsed logical element from @ARGV
7
9 Every instance of this class represents a logical entity from @ARGV
10
12 key
13 Parameter value or option key
14
15 value
16 Arrayref of values. A value is represented by a
17 MooseX::App::ParsedArgv::Value object.
18
19 add_value
20 Append a value
21
22 all_scalar_values
23 All values as scalars (in supplied order)
24
25 all_values
26 All values as MooseX::App::ParsedArgv::Value objects (in supplied
27 order)
28
29 last_value
30 Last value as MooseX::App::ParsedArgv::Value object (as given by
31 supplied order)
32
33 type
34 Type of element. Can be 'option', 'parameter' or 'extra'
35
36 consumed
37 Flag that indicates if element was already consumed
38
39 consume
40 Consumes element. Dies if element is already consumed
41
42 serialize
43 Serializes element (Does not procuce output that is identical with
44 original @ARGV)
45
46 original
47 Tries to re-create the original input
48
49
50
51perl v5.28.0 2016-12-31MooseX::App::ParsedArgv::Element(3)