Data::Object::Type::Array
Data-Object Array Type Constraint
package App::Type::Library; use Type::Library -base; use Data::Object::Type::Array; register Data::Object::Type::Array; 1;
Type constraint for validating Data::Object::Array objects. This type constraint is registered in the Data::Object::Config::Library type library.
This package implements the following methods.
my $name = $self->name();
The name method returns the name of the data type.
my $aliases = $self->aliases();
The aliases method returns aliases to register in the type library.
my $coercions = $self->coercions();
The coercions method returns coercions to configure on the type constraint.
my $validation = $self->validation();
The validation method returns truthy if type check is valid.
my $explaination = $self->explaination();
The explaination method returns the explaination for the type check failure.
my $parameterize = $self->parameterize();
The parameterize method returns truthy if parameterized type check is valid.
my $parameterize_coercions = $self->parameterize_coercions();
The parameterize_coercions method returns truthy if parameterized type check is valid.
To install Data::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Object
CPAN shell
perl -MCPAN -e shell install Data::Object
For more information on module installation, please visit the detailed CPAN module installation guide.