07 Feb 2017 19:00:28 UTC
- Distribution: MooseX-Types
- Module version: 0.50
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (12)
- Testers (8395 / 9 / 2)
- KwaliteeBus factor: 5
- 93.49% Coverage
- License: perl_5
- Perl: v5.8.0
- Activity24 month
- Download (55.91KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:9 non-PAUSE usersETHER Karen Etheridge 🐾 🌋🦑🇹🇼🇭🇰
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- SEE ALSO
- COPYRIGHT AND LICENCE
MooseX::Types::UndefinedType - a fallback type for when a type cannot be found
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.
Takes a full type name as argument and returns an instance of this class.
Returns the stored type name.
Try to see if the type constraint has yet been defined and if so create it.
Make sure that if a type hasn't been defined yet when Moose wants to inline it, we don't allow inlining.
Try to autovivify and delegate
Moose::Meta::TypeConstraint::Parameterizable complains if this isn't here. TODO to find out why.
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
Robert "phaylon" Sedlacek <firstname.lastname@example.org>
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.
Module Install Instructions
To install MooseX::Types, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install MooseX::Types
For more information on module installation, please visit the detailed CPAN module installation guide.