some doc fixes
[gitmo/MooseX-Getopt.git] / lib / MooseX / Getopt / Meta / Attribute.pm
index 5f29df1..22e4191 100644 (file)
@@ -3,7 +3,7 @@ package MooseX::Getopt::Meta::Attribute;
 use Moose;
 use Moose::Util::TypeConstraints;
 
-our $VERSION   = '0.02';
+our $VERSION   = '0.04';
 our $AUTHORITY = 'cpan:STEVAN';
 
 extends 'Moose::Meta::Attribute'; # << Moose extending Moose :)
@@ -16,11 +16,10 @@ has 'cmd_flag' => (
 
 # This subtype is to support scalar -> arrayref coercion
 #  without polluting the built-in types
-subtype '_MooseX_Getopt_CmdAliases'
-    => as 'ArrayRef'
-        => where { 1 };
+subtype '_MooseX_Getopt_CmdAliases' => as 'ArrayRef';
+    
 coerce '_MooseX_Getopt_CmdAliases'
-    => from 'Value'
+    => from 'Str'
         => via { [$_] };
 
 has 'cmd_aliases' => (
@@ -33,7 +32,8 @@ has 'cmd_aliases' => (
 no Moose;
 
 # register this as a metaclass alias ...
-package Moose::Meta::Attribute::Custom::Getopt;
+package # stop confusing PAUSE 
+    Moose::Meta::Attribute::Custom::Getopt;
 sub register_implementation { 'MooseX::Getopt::Meta::Attribute' }
 
 1;
@@ -125,6 +125,8 @@ to cpan-RT.
 
 Stevan Little E<lt>stevan@iinteractive.comE<gt>
 
+Brandon L. Black, E<lt>blblack@gmail.comE<gt>
+
 =head1 COPYRIGHT AND LICENSE
 
 Copyright 2007 by Infinity Interactive, Inc.