2 package MooseX::Getopt::Meta::Attribute::Trait::NoGetopt;
6 our $AUTHORITY = 'cpan:STEVAN';
10 # register this as a metaclass alias ...
11 package # stop confusing PAUSE
12 Moose::Meta::Attribute::Custom::Trait::NoGetopt;
13 sub register_implementation { 'MooseX::Getopt::Meta::Attribute::Trait::NoGetopt' }
23 MooseX::Getopt::Meta::Attribute::Trait::NoGetopt - Optional meta attribute trait for ignoring params
30 with 'MooseX::Getopt';
33 traits => [ 'NoGetopt' ], # do not attempt to capture this param
36 default => 'file.dat',
41 This is a custom attribute metaclass trait which can be used to
42 specify that a specific attribute should B<not> be processed by
43 C<MooseX::Getopt>. All you need to do is specify the C<NoGetopt>
46 has 'foo' => (traits => [ 'NoGetopt', ... ], ... );
58 All complex software has bugs lurking in it, and this module is no
59 exception. If you find a bug please either email me, or add the bug
64 Stevan Little E<lt>stevan@iinteractive.comE<gt>
66 =head1 COPYRIGHT AND LICENSE
68 Copyright 2007-2008 by Infinity Interactive, Inc.
70 L<http://www.iinteractive.com>
72 This library is free software; you can redistribute it and/or modify
73 it under the same terms as Perl itself.