1MouseX::Getopt::Meta::AUtsterrMiobCuuostneetX:r::i:TbGrueattieotdp:t:P:Ne:orMGleettDaoo:pc:tuA(mt3etpnrmti)abtuitoen::Trait::NoGetopt(3pm)
2
3
4
6 package App;
7 use Mouse;
8
9 with 'MouseX::Getopt';
10
11 has 'data' => (
12 traits => [ '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 trait which can be used to specify
20 that a specific attribute should not be processed by "MouseX::Getopt".
21 All you need to do is specify the "NoGetopt" metaclass trait.
22
23 has 'foo' => (traits => [ 'NoGetopt', ... ], ... );
24
25
26
27perl v5.28.0 MouseX::G2e0t1o6p-t0:7:-M1e3ta::Attribute::Trait::NoGetopt(3pm)