Enum needs to check that the value is not a ref
[gitmo/Moose.git] / lib / Moose / Meta / TypeCoercion.pm
index 5f0009d..e6c71b0 100644 (file)
@@ -8,10 +8,6 @@ use metaclass;
 use Moose::Meta::Attribute;
 use Moose::Util::TypeConstraints ();
 
-our $VERSION   = '0.78';
-$VERSION = eval $VERSION;
-our $AUTHORITY = 'cpan:STEVAN';
-
 __PACKAGE__->meta->add_attribute('type_coercion_map' => (
     reader  => 'type_coercion_map',
     default => sub { [] }
@@ -99,14 +95,12 @@ sub coerce { $_[0]->_compiled_type_coercion->($_[1]) }
 
 1;
 
+# ABSTRACT: The Moose Type Coercion metaclass
+
 __END__
 
 =pod
 
-=head1 NAME
-
-Moose::Meta::TypeCoercion - The Moose Type Coercion metaclass
-
 =head1 DESCRIPTION
 
 A type coercion object is basically a mapping of one or more type
@@ -174,21 +168,6 @@ This will return a L<Class::MOP::Class> instance for this class.
 
 =head1 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.
-
-=head1 AUTHOR
-
-Stevan Little E<lt>stevan@iinteractive.comE<gt>
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright 2006-2009 by Infinity Interactive, Inc.
-
-L<http://www.iinteractive.com>
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
+See L<Moose/BUGS> for details on reporting bugs.
 
 =cut