Data::Object::Base::String
Data-Object Abstract String Class
package My::String; use parent 'Data::Object::Base::String'; my $string = My::String->new('abcedfghi');
Data::Object::Base::String provides routines for operating on Perl 5 string data.
This package implements the following methods.
new(Str $arg1) : Object
The new method expects a string and returns a new class instance.
# given abcedfghi package My::String; use parent 'Data::Object::Base::String'; my $string = My::String->new('abcedfghi');
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.