2 package MooseX::Getopt::Meta::Attribute::NoGetopt;
6 our $AUTHORITY = 'cpan:STEVAN';
8 extends 'Moose::Meta::Attribute'; # << Moose extending Moose :)
9 with 'MooseX::Getopt::Meta::Attribute::Trait::NoGetopt';
13 # register this as a metaclass alias ...
14 package # stop confusing PAUSE
15 Moose::Meta::Attribute::Custom::NoGetopt;
16 sub register_implementation { 'MooseX::Getopt::Meta::Attribute::NoGetopt' }
26 MooseX::Getopt::Meta::Attribute::NoGetopt - Optional meta attribute for ignoring params
33 with 'MooseX::Getopt';
36 metaclass => 'NoGetopt', # do not attempt to capture this param
39 default => 'file.dat',
44 This is a custom attribute metaclass which can be used to specify
45 that a specific attribute should B<not> be processed by
46 C<MooseX::Getopt>. All you need to do is specify the C<NoGetopt>
49 has 'foo' => (metaclass => 'NoGetopt', ... );
61 All complex software has bugs lurking in it, and this module is no
62 exception. If you find a bug please either email me, or add the bug
67 Stevan Little E<lt>stevan@iinteractive.comE<gt>
69 Chris Prather C<< <perigrin@cpan.org> >>
71 =head1 COPYRIGHT AND LICENSE
73 Copyright 2007-2008 by Infinity Interactive, Inc.
75 L<http://www.iinteractive.com>
77 This library is free software; you can redistribute it and/or modify
78 it under the same terms as Perl itself.