MooseX::Types::UndefinedType(3) User Contributed Perl Documentation MooseX::Types::UndefinedType(3)

# [DESCRIPTION](#DESCRIPTION)

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](#METHODS)

## [new](#new)

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

## [name](#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](#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](#AUTOLOAD)

Try to autovivify and delegate

## [DESTROY](#DESTROY)

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

# [SEE ALSO](#SEE_ALSO)

MooseX::Types::Moose, Moose::Util::TypeConstraints, Moose::Meta::TypeConstraint, Carp::Clan

2026-10-26 perl v5.44.0

---

Document: MooseX::Types::UndefinedType(3pm) from perl-moosex-types 0.51-r3 (Chainguard OS)
Source: https://github.com/moose/MooseX-Types
