MouseX::Getopt::Meta::Attribute::NoGetopt(3pm)

MouseX::Getopt::Meta::Attribute::NoGetopt3pm

Usage

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

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

Overview

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

  has 'foo' => (metaclass => 'NoGetopt', ... );

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. 12
  6. 13

From libmousex-getopt-perl 0.38-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.