1MooseX::Getopt::Meta::AUtsterrMiobCouostneetX:r::i:TbGrueattieotdp:t:P:Ne:orMGleettDaoo:pc:tuA(mt3etpnrmti)abtuitoen::Trait::NoGetopt(3pm)
2
3
4
6 MooseX::Getopt::Meta::Attribute::Trait::NoGetopt - Optional meta
7 attribute trait for ignoring parameters
8
10 version 0.75
11
13 package App;
14 use Moose;
15
16 with 'MooseX::Getopt';
17
18 has 'data' => (
19 traits => [ 'NoGetopt' ], # do not attempt to capture this param
20 is => 'ro',
21 isa => 'Str',
22 default => 'file.dat',
23 );
24
26 This is a custom attribute metaclass trait which can be used to specify
27 that a specific attribute should not be processed by "MooseX::Getopt".
28 All you need to do is specify the "NoGetopt" metaclass trait.
29
30 has 'foo' => (traits => [ 'NoGetopt', ... ], ... );
31
33 Bugs may be submitted through the RT bug tracker
34 <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Getopt> (or
35 bug-MooseX-Getopt@rt.cpan.org <mailto:bug-MooseX-Getopt@rt.cpan.org>).
36
37 There is also a mailing list available for users of this distribution,
38 at <http://lists.perl.org/list/moose.html>.
39
40 There is also an irc channel available for users of this distribution,
41 at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.
42
44 Stevan Little <stevan@iinteractive.com>
45
47 This software is copyright (c) 2007 by Infinity Interactive, Inc.
48
49 This is free software; you can redistribute it and/or modify it under
50 the same terms as the Perl 5 programming language system itself.
51
52
53
54perl v5.34.0 MooseX::G2e0t2o1p-t0:7:-M2e2ta::Attribute::Trait::NoGetopt(3pm)