MooseX:...Element(3)
π NAME π
Okay bestie, this is MooseX::App::ParsedArgv::Element from the User Contributed Perl Documentation β the parsed logical element from @ARGV β¨
π¦ DESCRIPTION π¦
Every single instance of this class is one logical entity from @ARGV. Like, one vibe-sized piece of your command line, wrapped up as an object π
β¨ METHODS β¨
π key
The parameter value or option key. This is the label/identity situation, iykyk.
π value
An arrayref of values. Each value is represented by a MooseX::App::ParsedArgv::Value object π
β add_value
Appends a value. Add it, bestie π«Ά
πΈ all_scalar_values
All the values as scalars, in supplied order. Order is preserved, no cap β¨
π¦ all_values
All the values as MooseX::App::ParsedArgv::Value objects, in supplied order. Same order energy, just object mode π
β last_value
The last value as a MooseX::App::ParsedArgv::Value object, as given by supplied order. Itβs giving final boss of the value list π
π·οΈ type
The type of element. Can be 'option', 'parameter' or 'extra'. Thatβs the whole type menu, periodt π
β
consumed
A flag that indicates if the element was already consumed. Was it eaten? This flag knows π
π½οΈ consume
Consumes the element. Dies if the element is already consumed. So like, donβt double-eat it β thatβs a fatal situation, bestie π
π¦ serialize
Serializes the element. Heads up: it does not procuce output that is identical with the original @ARGV π (that spelling is straight from the original, okay? π
)
π original
Tries to re-create the original input. Itβs doing its best to bring the original vibe back π
Later, bestie π«Άπ β this page comes from perl v5.42.0, dated 2024-08-09, and itβs all about MooseX:...Element(3) β¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-MooseX-App 1.430.1-bp160.1.10 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms