Data::Object::Func::Array::Sum
Data-Object Array Function (Sum) Class
use Data::Object::Func::Array::Sum; my $func = Data::Object::Func::Array::Sum->new(@args); $func->execute;
Data::Object::Func::Array::Sum is a function object for Data::Object::Array.
This package implements the following methods.
execute() : Object
Executes the function logic and returns the result.
my $data = Data::Object::Array->new([1..4]); my $func = Data::Object::Func::Array::Sum->new( arg1 => $data ); my $result = $func->execute;
mapping() : (Str)
Returns the ordered list of named function object arguments.
my @data = $self->mapping;
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.