Data::Object::Role::Detract
Data-Object Detract Role
use Data::Object::Class; with 'Data::Object::Role::Detract';
Data::Object::Role::Detract provides routines for operating on Perl 5 data objects which meet the criteria for being detractable.
This package implements the following methods.
my $data = $self->data();
The data method returns the underlying data structure.
my $detract = $self->detract();
The detract method returns the underlying data structure.
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.