GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Parse::Method::Signatures::TypeConstraint(3) User Contributed Perl Documentation Parse::Method::Signatures::TypeConstraint(3)

Parse::Method::Signatures::TypeConstraint - turn parsed TC data into Moose TC object

Class used to turn PPI elements into Moose::Meta::TypeConstraint objects.

Lazy Build.

The Moose::Meta::TypeConstraint object for this type constraint, built when requested. "tc_callback" will be called for each individual component type in turn.

Type: CodeRef

Default: "find_registered_constraint"

Callback used to turn type names into type objects. See "type_constraint_callback" in Parse::Method::Signatures for more details and an example.

Type: ClassName

If provided, then the default "tc_callback" will search for MooseX::Types in this package.

Will search for an imported MooseX::Types in "from_namespace" (if provided). Failing that it will ask the Moose::Meta::TypeConstraint::Registry for a type with the given name.

If all else fails, it will simple return the type as a string, so that Moose's auto-vivification of classnames to type will work.

String representation of the type constraint, approximately as parsed.

Parse::Method::Signatures, MooseX::Types, MooseX::Types::Util.

Florian Ragwitz <rafl@debian.org>.

Ash Berlin <ash@cpan.org>.

Licensed under the same terms as Perl itself.
2017-04-01 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.