1MouseX::Getopt::Meta::AUtsterribCuotnet:r:iMNboouuGtseeetdXo:pP:teG(re3ltpomDp)otc:u:mMeenttaa:t:iAotntribute::NoGetopt(3pm)
2
3
4
6 package App;
7 use Mouse;
8
9 with 'MouseX::Getopt';
10
11 has 'data' => (
12 metaclass => 'NoGetopt', # do not attempt to capture this param
13 is => 'ro',
14 isa => 'Str',
15 default => 'file.dat',
16 );
17
19 This is a custom attribute metaclass which can be used to specify that
20 a specific attribute should not be processed by "MouseX::Getopt". All
21 you need to do is specify the "NoGetopt" metaclass.
22
23 has 'foo' => (metaclass => 'NoGetopt', ... );
24
25
26
27perl v5.34.0 Mo2u0s2e1X-:0:7G-e2t2opt::Meta::Attribute::NoGetopt(3pm)