X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FTypes%2FUndefinedType.pm;h=eca9111284ed762c51b57fe1468c8ecce9513f97;hb=9fd376471e35369998008c1ea620f2e3febaa001;hp=4045c190bc25764fb86ae4961d23a87c280a0047;hpb=077ac262426e5f48cfe70fd1711ccd27971fab44;p=gitmo%2FMooseX-Types.git diff --git a/lib/MooseX/Types/UndefinedType.pm b/lib/MooseX/Types/UndefinedType.pm index 4045c19..eca9111 100644 --- a/lib/MooseX/Types/UndefinedType.pm +++ b/lib/MooseX/Types/UndefinedType.pm @@ -1,11 +1,5 @@ package MooseX::Types::UndefinedType; -=head1 NAME - -MooseX::Types::UndefinedType - Represents a not yet defined type - -=cut - use warnings; use strict; @@ -48,6 +42,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 +103,6 @@ L, L, L -=head1 AUTHOR AND COPYRIGHT - -Robert 'phaylon' Sedlacek Crs@474.atE>, with many thanks to -the C<#moose> cabal on C. - -Additional features by John Napiorkowski (jnapiorkowski) - =head1 LICENSE This program is free software; you can redistribute it and/or modify