Data::Object::Func::String::Index
Data-Object String Function (Index) Class
use Data::Object::Func::String::Index; my $func = Data::Object::Func::String::Index->new(@args); $func->execute;
Data::Object::Func::String::Index is a function object for Data::Object::String.
This package implements the following methods.
my $data = Data::Object::String->new("hello"); my $func = Data::Object::Func::String::Index->new( arg1 => $data, arg2 => 'l', arg3 => 0 ); my $result = $func->execute;
Executes the function logic and returns the result.
my @data = $self->mapping;
Returns the ordered list of named function object arguments.
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.