Data::Object::Role::Type
Data-Object Type Role
use Data::Object::Class; with 'Data::Object::Role::Type';
Data::Object::Role::Type provides routines for operating on Perl 5 data objects which meet the criteria for being considered type objects.
This package implements the following methods.
my $methods = $self->methods();
The methods method returns all object functions and methods.
my $type = $self->type();
The type method returns object type string.
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.