1 package MooseX::Getopt::Meta::Attribute::Trait::NoGetopt;
2 # ABSTRACT: Optional meta attribute trait for ignoring params
7 # register this as a metaclass alias ...
8 package # stop confusing PAUSE
9 Moose::Meta::Attribute::Custom::Trait::NoGetopt;
10 sub register_implementation { 'MooseX::Getopt::Meta::Attribute::Trait::NoGetopt' }
19 with 'MooseX::Getopt';
22 traits => [ 'NoGetopt' ], # do not attempt to capture this param
25 default => 'file.dat',
30 This is a custom attribute metaclass trait which can be used to
31 specify that a specific attribute should B<not> be processed by
32 C<MooseX::Getopt>. All you need to do is specify the C<NoGetopt>
35 has 'foo' => (traits => [ 'NoGetopt', ... ], ... );