logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SYNOPSIS

Description

       This is a custom attribute metaclass which can be used to specify that a specific attribute should not be
       processed by "MouseX::Getopt". All you need to do is specify the "NoGetopt" metaclass.

         has 'foo' => (metaclass => 'NoGetopt', ... );

perl v5.40.0                                       2025-01-13              MouseX::Getopt...ibute::NoGetopt(3pm)

Name Mousex::Getopt::Meta::Attribute::Nogetopt - Optional Meta Attribute For Ignoring Params

Synopsis

         package App;
         use Mouse;

         with 'MouseX::Getopt';

         has 'data' => (
             metaclass => 'NoGetopt',  # do not attempt to capture this param
             is        => 'ro',
             isa       => 'Str',
             default   => 'file.dat',
         );

See Also