Ricardo SIGNES > MooseX-Getopt-0.20 > MooseX::Getopt::Meta::Attribute::NoGetopt

Download:
MooseX-Getopt-0.20.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  6
View/Report Bugs
Module Version: 0.20   Source   Latest Release: MooseX-Getopt-0.63

NAME ^

MooseX::Getopt::Meta::Attribute::NoGetopt - Optional meta attribute for ignoring params

SYNOPSIS ^

  package App;
  use Moose;
  
  with 'MooseX::Getopt';
  
  has 'data' => (
      metaclass => 'NoGetopt',  # do not attempt to capture this param  
      is        => 'ro',
      isa       => 'Str',
      default   => 'file.dat',
  );

DESCRIPTION ^

This is a custom attribute metaclass 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.

  has 'foo' => (metaclass => '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 ^

Stevan Little <stevan@iinteractive.com>

Chris Prather <perigrin@cpan.org>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: