GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MouseX::Getopt::Meta::Attribute::Trait::NoGetopt(3) User Contributed Perl Documentation MouseX::Getopt::Meta::Attribute::Trait::NoGetopt(3)

  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',
  );

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', ... ], ... );
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.