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.30.1 Mo2u0s2e0X-:0:1G-e3t0opt::Meta::Attribute::NoGetopt(3pm)