X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FTypes%2FUndefinedType.pm;h=4c4c10dbbf9fbe043d4e26e350288ae42da26144;hb=6a1db9c7c89f006f6231aa64a9629dd1de7c5a15;hp=02c49184b1ef66cd63f98f941f509a3cacf6f789;hpb=6a9158d85ae17b00a0413201d5ce88fca05c336d;p=gitmo%2FMooseX-Types.git diff --git a/lib/MooseX/Types/UndefinedType.pm b/lib/MooseX/Types/UndefinedType.pm index 02c4918..4c4c10d 100644 --- a/lib/MooseX/Types/UndefinedType.pm +++ b/lib/MooseX/Types/UndefinedType.pm @@ -1,5 +1,5 @@ package MooseX::Types::UndefinedType; -our $VERSION = "0.23"; +our $VERSION = "0.26"; =head1 NAME @@ -49,6 +49,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.