Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

parse::method::signatures::param(3) [mojave man page]

Parse::Method::Signatures::Param(3)			User Contributed Perl Documentation		       Parse::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.18.2 2013-02-28 Parse::Method::Signatures::Param(3)

Check Out this Related Man Page

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

NAME
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 <rafl@debian.org>. Ash Berlin <ash@cpan.org>. LICENSE
Licensed under the same terms as Perl itself. perl v5.18.2 2013-02-28 Parse::Method::Signatures::TypeConstraint(3)
Man Page

8 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

Signatures

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. Programming

c++ object constructor question

I have the following code class Param{ public: Param(int aa, int bb){ a=aa; b=bb; } int a,b; }; void function(Param); int main(){ function(2,3); return 0; } (6 Replies)
Discussion started by: santiagorf
6 Replies

4. Shell Programming and Scripting

perl - replace value

Hello, I am trying to change a value in a param file, with the Run time variable in .sh scripts using perl command , ========================================== Param file $$ID=<0> $$Country=<Country> ========================================== in the .sh script val=33 I am... (5 Replies)
Discussion started by: Shanks
5 Replies

5. Post Here to Contact Site Administrators and Moderators

Signatures

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. https://www.unix.com/post-here-contact-site-administrators-moderators/39610-signatures.html Is it true signatures are... (8 Replies)
Discussion started by: gito
8 Replies

6. Linux

Shell Script to generate Dynamic Param file Using SQL Plus Quey

Hi All, Can anyone give me Shell script sample script to generate Param file by Reading Values from SQL Plus query and it should assign those values to variables like.. $$SChema_Name='ORCL' Thanks in Advance... Srav... (4 Replies)
Discussion started by: Sravana Kumar
4 Replies

7. Shell Programming and Scripting

Script to parse and update a parameter file

Dear All- My requirement is as below, need your inputs please 1] I have a file name Param.txt which contains the below data #GLOBAL# PARAM_VALUE=N ............. ............ CTRY=UK ......... 2] Next, I want to write a script which will check for some condition (lets assume... (1 Reply)
Discussion started by: sureshg_sampat
1 Replies

8. 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