Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

parse::method::signatures::typeconstraint(3) [osx man page]

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 DESCRIPTION
Class used to turn PPI elements into Moose::Meta::TypeConstraint objects. ATTRIBUTES
tc 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. tc_callback 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. from_namespace Type: ClassName If provided, then the default "tc_callback" will search for MooseX::Types in this package. METHODS
find_registered_constraint 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. to_string String representation of the type constraint, approximately as parsed. SEE ALSO
Parse::Method::Signatures, MooseX::Types, MooseX::Types::Util. AUTHORS
Florian Ragwitz <>. Ash Berlin <>. LICENSE
Licensed under the same terms as Perl itself. perl v5.16.2 2011-09-09 Parse::Method::Signatures::TypeConstraint(3)

Check Out this Related Man Page

Parse::Method::Signatures::Param(3)			User Contributed Perl Documentation		       Parse::Method::Signatures::Param(3)

Parse::Method::Signatures::Param - a parsed parameter from a signature ATTRIBUTES
All attributes of this class are read-only. required Is this parameter required (true) or optional (false)? sigil The effective sigil ('$', '@' or '%') of this parameter. type_constraints Type: Parse::Method::Signatures::TypeConstraint Predicate: has_type_constraints Representation of the type constraint for this parameter. Most commonly you will just call "meta_type_constraint" and not access this attribute directly. default_value Type: Str Predicate: has_default_value A string that should be eval'd or injected to get the default value for this parameter. For example: $name = 'bar' Would give a default_value of "'bar'". constraints Type: ArrayRef[Str] Predicate: has_constraints "where" constraints for this type. Each member of the array a the string (including enclosing braces) of the where constraint block. param_traits Type: ArrayRef[ Tupple[Str,Str] ] Predicate: has_traits Traits that this parameter is declared to have. For instance $foo does coerce would have a trait of ['does', 'coerce'] METHODS
to_string meta_type_constraint Get the Moose::Meta::TypeConstraint for this parameter. Check first that the type has a type constraint: $tc = $param->meta_type_constraint if $param->has_type_constraints; SEE ALSO
Parse::Method::Signatures. AUTHORS
Ash Berlin <>. Florian Ragwitz <>. LICENSE
Licensed under the same terms as Perl itself. perl v5.18.2 2013-02-28 Parse::Method::Signatures::Param(3)
Man Page

4 More Discussions You Might Find Interesting

1. HP-UX

List of Signatures

Hi Guys I just want the list of signatures and the event IDs(If there are any) of the HP-UX System log. If anybody having the same, could you please just post me or give the link where I could find them. Thanks Guys Praveen Kumar Pagadala (0 Replies)
Discussion started by: pgdl_praveen
0 Replies

2. Post Here to Contact Site Administrators and Moderators


The signatures disappeared. The parameter setting of the forum does not seem to me very stable. Jean-Pierre. (6 Replies)
Discussion started by: aigles
6 Replies

3. Post Here to Contact Site Administrators and Moderators


Hi is it possible to add signatures? I have found option in profile config to enable it but no option to set it for my account. I have found some discussion form 2007. Is it true signatures are... (8 Replies)
Discussion started by: gito
8 Replies

4. AIX

How to enable "TCP MD5 Signatures" and "https" on AIX?

I have searched many times but nothing found. Somebody help please :(:(:( (1 Reply)
Discussion started by: bobochacha29
1 Replies