NAME

MouseX::Getopt::Meta::Attribute::Trait::NoGetopt - Optional meta attribute trait for ignoring params

SYNOPSIS

package App;
use Mouse;

with 'MouseX::Getopt';

has 'data' => (
    traits  => [ 'NoGetopt' ],  # do not attempt to capture this param  
    is      => 'ro',
    isa     => 'Str',
    default => 'file.dat',
);

DESCRIPTION

This is a custom attribute metaclass trait which can be used to specify that a specific attribute should not be processed by MouseX::Getopt. All you need to do is specify the NoGetopt metaclass trait.

has 'foo' => (traits => [ 'NoGetopt', ... ], ... );

METHODS

meta

BUGS

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.

AUTHOR

NAKAGAWA Masaki <masaki@cpan.org>

FUJI Goro <gfuji@cpan.org> from 0.22

OROGINAL AUTHOR

See "AUTHOR" in MooseX::Getopt and "CONTRIBUTORS" in MooseX::Getopt.

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.