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. A value itself is an arrayref of the raw value and the original position in ARGV.

raw

Raw value as supplied by the user

type

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

occurrence

Number of occurrences 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)