MooseX::Types::UndefinedType(3pm)

MooseX::Types::UndefinedType3pm

A fallback type for when a type cannot be found

Version

version 0.51

Overview

Whenever a type handle function (e.g. Int() can't find a type constraint under its full name, it assumes it has not yet been defined. It will then return an instance of this class, handling only stringification, name and possible identification of undefined types.

Later, when you try to use the Undefined Type Constraint, autovivification will be attempted.

Methods

new

Takes a full type name as argument and returns an instance of this class.

name

Returns the stored type name.

__autovivify

Try to see if the type constraint has yet been defined and if so create it.

can_be_inlined

Make sure that if a type hasn't been defined yet when Moose wants to inline it, we don't allow inlining.

Autoload

Try to autovivify and delegate

Destroy

Moose::Meta::TypeConstraint::Parameterizable complains if this isn't here. TODO to find out why.

Support

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types> (or [email protected] <mailto:[email protected]>).

There is also a mailing list available for users of this distribution, at <http://lists.perl.org/list/moose.html>.

There is also an irc channel available for users of this distribution, at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10–11
  6. 12
  7. 13

Author

Robert "phaylon" Sedlacek <[email protected]>

From libmoosex-types-perl 0.51-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.