MooseX::Getopt::Meta::Attribute::Trait::NoGetopt - Optional meta attribute trait for ignoring params
package App; use Moose; with 'MooseX::Getopt'; has 'data' => ( traits => [ 'NoGetopt' ], # do not attempt to capture this param is => 'ro', isa => 'Str', default => 'file.dat', );
This is a custom attribute metaclass trait which can be used to specify that a specific attribute should not be processed by MooseX::Getopt. All you need to do is specify the NoGetopt metaclass trait.
MooseX::Getopt
NoGetopt
has 'foo' => (traits => [ 'NoGetopt', ... ], ... );
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
Stevan Little <stevan@iinteractive.com>
Copyright 2007-2008 by Infinity Interactive, Inc.
http://www.iinteractive.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install MooseX::Getopt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Getopt
CPAN shell
perl -MCPAN -e shell install MooseX::Getopt
For more information on module installation, please visit the detailed CPAN module installation guide.