switching over to dzil
[gitmo/MooseX-Types.git] / lib / MooseX / Types / UndefinedType.pm
index 2e4ce6b..58f5d3e 100644 (file)
@@ -1,9 +1,4 @@
 package MooseX::Types::UndefinedType;
-our $VERSION = "0.22";
-
-=head1 NAME
-
-MooseX::Types::UndefinedType - Represents a not yet defined type
 
 =cut
 
@@ -49,6 +44,14 @@ sub name {
     return $_[0]->{name};
 }
 
+=head2 can_be_inlined
+
+Always returns false. Needed for compatbility with Moose 2.0100+.
+
+=cut
+
+sub can_be_inlined { 0 }
+
 =head2 __autovivify
 
 Try to see if the type constraint has yet been defined and if so create it.
@@ -102,10 +105,6 @@ L<Moose::Util::TypeConstraints>,
 L<Moose::Meta::TypeConstraint>,
 L<Carp::Clan>
 
-=head1 AUTHOR
-
-See L<MooseX::Types/AUTHOR>.
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify