Data::Object::Type::Hash
Data-Object Hash Type Constraint
package App::Type::Library; use Type::Library -base; use Data::Object::Type::Hash; register Data::Object::Type::Hash; 1;
Type constraint for validating Data::Object::Hash objects. This type constraint is registered in the Data::Object::Library type library.
This package implements the following methods.
aliases() : ArrayRef
The aliases method returns aliases to register in the type library.
my $aliases = $self->aliases();
coercions() : ArrayRef
The coercions method returns coercions to configure on the type constraint.
my $coercions = $self->coercions();
explaination(Object $arg1, Object $arg2, Str $arg3) : Any
The explaination method returns the explaination for the type check failure.
my $explaination = $self->explaination();
name() : StrObject
The name method returns the name of the data type.
my $name = $self->name();
parameterize(Object $arg1, Object $arg2) : Num
The parameterize method returns truthy if parameterized type check is valid.
my $parameterize = $self->parameterize();
The parameterize_coercions method returns truthy if parameterized type check is valid.
my $parameterize_coercions = $self->parameterize_coercions();
validation(Object $arg1) : NumObject
The validation method returns truthy if type check is valid.
my $validation = $self->validation();
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.