MooseX...Getopt(3pm)
β¨ NAME β¨
MooseX::Runnable::Invocation::Scheme::MooseX::Getopt β bestie, this is the lil scheme that runs MX::Getopt classes π
(yes it's a Perl module, yes it lives in the User Contributed Perl Documentation section, and yes the name is a whole entire runway π )
π¦ DESCRIPTION π¦
Okay so picture this: MooseX::Runnable::Invocation needs to make an instance of the class that's about to be run, and it wants that class running with MooseX::Getopt. That's literally the whole job of this role. It's the hype friend that gets the class dressed and on stage. π
Then β and this is the part people sleep on β any args that MX::Getopt does not consume get handed straight off to the class's run method. So MX::Getopt takes what it wants, and the leftovers go to run. No cap, that's the flow. π
Wanna see it in the wild? There's a test for exactly this: t/basic-mx-getopt.t. Go look, it's giving example. π
πΈ SEE ALSO πΈ
MooseX::RunnableMooseX::Getopt
mwah π that's the whole page, go read the code, ily
perl v5.36.0 Β· 2022-12-11 β and that's the tea, dated and versioned and everything ππ«Άβ¨
π¦ where this page comes from
- debian bookworm: libmoosex-runnable-perl 0.10-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmoosex-runnable-perl 0.10-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmoosex-runnable-perl 0.10-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libmoosex-runnable-perl 0.10-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms