NAME

MooseX::App::ParsedArgv::Element - Parsed element from @ARGV

DESCRIPTION

Every instance of this class represents a logical entity from @ARGV

METHODS

key

Parameter value or option key

value

Arrayref of values

raw

Raw value as supplied by the user

type

Type of element. Can be 'option', 'parameter' or 'extra'

occurence

Number of occurences in @ARGV

consumed

Flag that indicates if element was already consumed

consume

Consumes element. Dies if element is already consumed

serialize

Serializes element (Does not procuce output that is identical with original @ARGV)