Parse::Method::Signatures::Param man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Parse::Method::SignatuUser:Contributed PerlParse::Method::Signatures::Param(3)

NAME
       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 <ash@cpan.org>.

       Florian Ragwitz <rafl@debian.org>.

LICENSE
       Licensed under the same terms as Perl itself.

perl v5.14.1			  2009-05-0Parse::Method::Signatures::Param(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net