2 package MooseX::Getopt::Strict;
4 our $VERSION = '0.150001';
10 around '_compute_getopt_attrs' => sub {
12 my ($class, @args) = @_;
15 $_->does('MooseX::Getopt::Meta::Attribute::Trait')
16 } $class->$next(@args);
29 MooseX::Getopt::Strict - only make options for attrs with the Getopt metaclass
33 This is an stricter version of C<MooseX::Getopt> which only processes the
34 attributes if they explicitly set as C<Getopt> attributes. All other attributes
35 are ignored by the command line handler.
49 =item L<MooseX::Getopt>
55 All complex software has bugs lurking in it, and this module is no
56 exception. If you find a bug please either email me, or add the bug
61 Stevan Little E<lt>stevan@iinteractive.comE<gt>
63 Yuval Kogman C<< <nuffin@cpan.org> >>
65 =head1 COPYRIGHT AND LICENSE
67 Copyright 2007-2008 by Infinity Interactive, Inc.
69 L<http://www.iinteractive.com>
71 This library is free software; you can redistribute it and/or modify
72 it under the same terms as Perl itself.