switching over to dzil
[gitmo/MooseX-Types.git] / lib / MooseX / Types / UndefinedType.pm
index 4045c19..58f5d3e 100644 (file)
@@ -1,9 +1,5 @@
 package MooseX::Types::UndefinedType;
 
-=head1 NAME
-
-MooseX::Types::UndefinedType - Represents a not yet defined type
-
 =cut
 
 use warnings;
@@ -48,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.
@@ -101,13 +105,6 @@ L<Moose::Util::TypeConstraints>,
 L<Moose::Meta::TypeConstraint>,
 L<Carp::Clan>
 
-=head1 AUTHOR AND COPYRIGHT
-
-Robert 'phaylon' Sedlacek C<E<lt>rs@474.atE<gt>>, with many thanks to
-the C<#moose> cabal on C<irc.perl.org>.
-
-Additional features by John Napiorkowski (jnapiorkowski) <jjnapiork@cpan.org>
-
 =head1 LICENSE
 
 This program is free software; you can redistribute it and/or modify