table of contents
MooseX::App::ParsedArgv::Element(3pm) | User Contributed Perl Documentation | MooseX::App::ParsedArgv::Element(3pm) |
NAME¶
MooseX::App::ParsedArgv::Element - Parsed logical element from @ARGVDESCRIPTION¶
Every instance of this class represents a logical entity from @ARGVMETHODS¶
key¶
Parameter value or option keyvalue¶
Arrayref of values. A value is represented by a MooseX::App::ParsedArgv::Value object.add_value¶
Append a valueall_scalar_values¶
All values as scalars (in supplied order)all_values¶
All values as MooseX::App::ParsedArgv::Value objects (in supplied order)last_value¶
Last value as MooseX::App::ParsedArgv::Value object (as given by supplied order)type¶
Type of element. Can be 'option', 'parameter' or 'extra'consumed¶
Flag that indicates if element was already consumedconsume¶
Consumes element. Dies if element is already consumedserialize¶
Serializes element (Does not procuce output that is identical with original @ARGV)original¶
Tries to re-create the original input2017-10-02 | perl v5.26.0 |