MooseX...Getopt(3pm)
π
MooseX...Getopt(3pm) β aka the tea on MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
okay bestie, welcome to the manual page for MooseX::Getopt::Meta::Attribute::Trait::NoGetopt (yes it's a mouthful, yes it's iconic, we move) β¨
πΈ NAME πΈ
MooseX::Getopt::Meta::Attribute::Trait::NoGetopt β the optional meta attribute trait that tells the command line to mind its own business and ignore a parameter. periodt.
β VERSION β
version 0.78 π
π¦ SYNOPSIS π¦
package App;
use Moose;
with 'MooseX::Getopt';
has 'data' => (
traits => [ 'NoGetopt' ], # do not attempt to capture this param
is => 'ro',
isa => 'Str',
default => 'file.dat',
);
like. look at her. flawless. π
β¨ DESCRIPTION β¨
so here's the vibe: this is a custom attribute metaclass trait, and what it does is let you say "hey, this specific attribute? do NOT let MooseX::Getopt touch it." that's it. that's the whole job. and she does it beautifully. π«Ά
all you gotta do is slap the NoGetopt metaclass trait on there:
has 'foo' => (traits => [ 'NoGetopt', ... ], ... );
and boom π₯ that attribute is off the menu for command-line parsing. no cap.
π SUPPORT π
found a bug? bestie, we wanna hear it. bugs may be submitted through the RT bug tracker at <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Getopt> β or fr fr just email it to bug-MooseX-Getopt@rt.cpan.org <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>. come thru π
and if you wanna chat live, there's an irc channel for users of this distribution too β #moose on irc.perl.org <irc://irc.perl.org/#moose>. the group chat is open, pull up π
π AUTHOR π
Stevan Little <stevan@iinteractive.com>
(an absolute legend, main character energy, we stan β)
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2007 by Infinity Interactive, Inc.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
read that again. free. free free. go wild, no gatekeeping π§
and that's the whole page bestie!! π this was pulled from perl v5.40.0, dated 2025-01-11, filed under MooseX...Getopt(3pm) β mwah, take care of her, bye!! ππΈβ¨
π¦ 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