Function::Interface::Info::Function::Param - information about parameters of abstract function
Constructor of Function::Interface::Info::Function::Param. This is usually called at Function::Interface::info.
Returns parameter name of the abstract function, e.g. $msg.
$msg
Returns whether it is a named parameter. For example, Str $a is false, Str :$b is true.
Str $a
Str :$b
Returns whether it is a optional parameter. For example, Str $a is false, Str $b= is true.
Str $b=
Returns type object of the parameter, e.g. Str.
Str
Returns type display name of the parameter
Function::Interface::Info
To install Function::Interface, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Function::Interface
CPAN shell
perl -MCPAN -e shell install Function::Interface
For more information on module installation, please visit the detailed CPAN module installation guide.