Data::Object::RoleHas
Data-Object Role Configuration
package Pointable; use Data::Object::Role; use Data::Object::RoleHas; has 'x'; has 'y'; 1;
Data::Object::RoleHas modifies the consuming package with behaviors useful in defining roles. Specifically, this package wraps the has attribute keyword functions and adds enhancements which as documented in Data::Object::Role.
has
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.