Data::Object::Type::Path
Data-Object Path Type Constraint
package App::Type::Library; use Type::Library -base; use Data::Object::Type::Path; register Data::Object::Type::Path; 1;
Type constraint for validating Data::Object::Path 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 $validation = $self->validation();
The validation method returns truthy if 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.