1MooseX::Getopt::Meta::AUtsterribCuotnet:r:iNbouMGtoeeotdsoepPXte:(r:3lG)eDtoocputm:e:nMteattai:o:nAttribute::NoGetopt(3)
2
3
4
6 MooseX::Getopt::Meta::Attribute::NoGetopt - Optional meta attribute for
7 ignoring params
8
10 package App;
11 use Moose;
12
13 with 'MooseX::Getopt';
14
15 has 'data' => (
16 metaclass => 'NoGetopt', # do not attempt to capture this param
17 is => 'ro',
18 isa => 'Str',
19 default => 'file.dat',
20 );
21
23 This is a custom attribute metaclass which can be used to specify that
24 a specific attribute should not be processed by "MooseX::Getopt". All
25 you need to do is specify the "NoGetopt" metaclass.
26
27 has 'foo' => (metaclass => 'NoGetopt', ... );
28
30 meta
31
33 All complex software has bugs lurking in it, and this module is no
34 exception. If you find a bug please either email me, or add the bug to
35 cpan-RT.
36
38 Stevan Little <stevan@iinteractive.com>
39
40 Chris Prather "<perigrin@cpan.org>"
41
43 Copyright 2007-2008 by Infinity Interactive, Inc.
44
45 <http://www.iinteractive.com>
46
47 This library is free software; you can redistribute it and/or modify it
48 under the same terms as Perl itself.
49
50
51
52perl v5.12.0 2M0o1o0s-e0X3:-:0G1etopt::Meta::Attribute::NoGetopt(3)