Data::Object::Base::Array
Data-Object Abstract Array Class
use Data::Object::Base::Array; my $array = Data::Object::Base::Array->new([1..9]);
Data::Object::Base::Array provides routines for operating on Perl 5 array references.
This package implements the following methods.
new(ArrayRef $arg1) : Object
The new method expects a list or array reference and returns a new class instance.
package My::Array; use parent 'Data::Object::Base::Array'; # given 1..9 my $array = My::Array->new([1..9]);
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.