2 package MooseX::Getopt::Meta::NoGetopt;
4 use Moose::Util::TypeConstraints;
7 our $AUTHORITY = 'cpan:STEVAN';
9 extends 'Moose::Meta::Attribute'; # << Moose extending Moose :)
13 # register this as a metaclass alias ...
14 package Moose::Meta::Attribute::Custom::NoGetopt;
15 sub register_implementation { 'MooseX::Getopt::Meta::NoGetopt' }
25 MooseX::NoGetopt::Meta::Attribute - Optional meta attribute for custom option names
32 with 'MooseX::Getopt';
35 metaclass => 'NoGetOpt', # do not attempt to capture this param
38 default => 'file.dat',
43 This is a custom attribute metaclass which can be used to specify
44 that a specific attribute should B<not> be processed by
45 C<MooseX::Getopt>. All you need to do is specify the C<NoGetOpt>
48 has 'foo' => (metaclass => 'NoGetopt', ... );
60 All complex software has bugs lurking in it, and this module is no
61 exception. If you find a bug please either email me, or add the bug
66 Stevan Little E<lt>stevan@iinteractive.comE<gt>
68 Chris Prather C<< <perigrin@cpan.org> >>
70 =head1 COPYRIGHT AND LICENSE
72 Copyright 2007 by Infinity Interactive, Inc.
74 L<http://www.iinteractive.com>
76 This library is free software; you can redistribute it and/or modify
77 it under the same terms as Perl itself.