X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FGetopt%2FMeta%2FAttribute%2FNoGetopt.pm;h=5222a50d7b250d8666d47ee0143e414c675765b8;hb=6ac028c4d869259041b7c526071cf614ffb033fa;hp=88f36e6fc28420c242854d26bd2536c9763d0b6a;hpb=0f8232b66e0f72e35099ce203962a4efc23838cf;p=gitmo%2FMooseX-Getopt.git diff --git a/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm b/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm index 88f36e6..5222a50 100644 --- a/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm +++ b/lib/MooseX/Getopt/Meta/Attribute/NoGetopt.pm @@ -10,7 +10,8 @@ extends 'Moose::Meta::Attribute'; # << Moose extending Moose :) no Moose; # register this as a metaclass alias ... -package Moose::Meta::Attribute::Custom::NoGetopt; +package # stop confusing PAUSE + Moose::Meta::Attribute::Custom::NoGetopt; sub register_implementation { 'MooseX::Getopt::Meta::Attribute::NoGetopt' } 1; @@ -21,7 +22,7 @@ __END__ =head1 NAME -MooseX::Getopt::Meta::Attribute::NoGetOpt - Optional meta attribute for ignoring params +MooseX::Getopt::Meta::Attribute::NoGetopt - Optional meta attribute for ignoring params =head1 SYNOPSIS @@ -31,7 +32,7 @@ MooseX::Getopt::Meta::Attribute::NoGetOpt - Optional meta attribute for ignoring with 'MooseX::Getopt'; has 'data' => ( - metaclass => 'NoGetOpt', # do not attempt to capture this param + metaclass => 'NoGetopt', # do not attempt to capture this param is => 'ro', isa => 'Str', default => 'file.dat', @@ -41,7 +42,7 @@ MooseX::Getopt::Meta::Attribute::NoGetOpt - Optional meta attribute for ignoring This is a custom attribute metaclass which can be used to specify that a specific attribute should B be processed by -C. All you need to do is specify the C +C. All you need to do is specify the C metaclass. has 'foo' => (metaclass => 'NoGetopt', ... );