MooseX...sedArgv(3pm)
π MooseX::Getopt::ProcessedArgv β wait bestie, the manual page is literally called MooseX...sedArgv(3pm) π¦
okay so this is a Perl manual page (section 3pm, User Contributed Perl Documentation, iykyk) and it's about a lil class that holds the receipts from processing your command line. let's get into it π
β¨ NAME β¨
MooseX::Getopt::ProcessedArgv β yep, the name is literally MooseX::Getopt::ProcessedArgv - MooseX::Getopt::ProcessedArgv - Class containing the results of process_argv. it said its own name twice, iconic behaviour honestly π
πΈ VERSION πΈ
version 0.78 β that's the vibe check result, bestie β¨
π SYNOPSIS π
here's the little taste test, no cap:
use My::App;
my $pa = My::App->process_argv(@params);
my $argv_copy = $pa->argv_copy();
my $extra_argv = $pa->extra_argv();
my $usage = $pa->usage();
my $constructor_params = $pa->constructor_params();
my $cli_params = $pa->cli_params();
look at all those accessors just vibing π
π DESCRIPTION π
so this object is what you get back from a process_argv call in MooseX::Getopt. it's the lil treasure chest holding all the info that new_with_options in MooseX::Getopt uses when it calls new. that's it. that's the whole job. and it does it flawlessly, fr fr π
π METHODS π
π
argv_copy
a reference to a copy of the original @ARGV array, exactly as it existed at the moment of new_with_options. like a screenshot of your argv before anything touched it πΈ
π§ extra_arg
an arrayref of the leftover @ARGV elements that Getopt::Long did not parse. the stragglers. the ones who didn't get picked for the team π₯²
β usage
contains the Getopt::Long::Descriptive::Usage object β but only if Getopt::Long::Descriptive is being used. conditional queen π«
π constructor_params
the parameters that were passed to process_argv. the origin story, basically π
π₯ cli_param
the command-line parameters that got parsed out of @ARGV. the ones that did make it, periodt π
π«Ά SUPPORT π«Ά
got bugs? bestie, we all do. you can submit them through the RT bug tracker at <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Getopt>, or slide into <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Getopt> β¦ ok specifically the email <bug-MooseX-Getopt@rt.cpan.org> (that's bug-MooseX-Getopt@rt.cpan.org in mailto form, <mailto:bug-MooseX-Getopt@rt.cpan.org>).
there's also a mailing list for users of this distribution, hanging out at <http://lists.perl.org/list/moose.html> π¬
and there's an irc channel too, for users of this distribution: #moose on irc.perl.org β that's <irc://irc.perl.org/#moose>. come say hi, we don't bite π¬
π AUTHOR π
Stevan Little <stevan@iinteractive.com> β thank you for your service, king π«‘
πΈ COPYRIGHT AND LICENSE πΈ
this software is copyright (c) 2007 by Infinity Interactive, Inc.
it's free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so like, go forth and remix, bestie π
ngl the original header had the manual nameMooseX...sedArgv(3pm)up top andUser Contributed Perl Documentationchilling on the side β consider this your formal introduction to both π
and that's a wrap! this page came from perl v5.40.0, dated 2025-01-11, and the footer said MooseX...sedArgv(3pm) one more time on the way out, like a little goodbye kiss π mwah. bye bestie, go parse some argv π¦β¨
π¦ where this page comes from
- debian trixie: libmoosex-getopt-perl 0.78-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmoosex-getopt-perl 0.78-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmoosex-getopt-perl 0.78-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms