Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

MooseX::Types::UndefinedType

Name MooseX::Types::UndefinedType
Version 0.50
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/MooseX/Types/UndefinedType.pm
Is Core No
Search CPAN for this module MooseX::Types::UndefinedType
Documentation MooseX::Types::UndefinedType
Module Details MooseX::Types::UndefinedType


NAME

MooseX::Types::UndefinedType - a fallback type for when a type cannot be found


VERSION

version 0.50


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

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.


SEE ALSO

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


SUPPORT

Bugs may be submitted through the RT bug tracker (or bug-MooseX-Types@rt.cpan.org).

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.


AUTHOR

Robert ``phaylon'' Sedlacek <rs@474.at>


COPYRIGHT AND LICENCE

This software is copyright (c) 2007 by Robert ``phaylon'' Sedlacek.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024