Data::Object::Func::Number::Mod
Data-Object Number Function (Mod) Class
use Data::Object::Func::Number::Mod; my $func = Data::Object::Func::Number::Mod->new(@args); $func->execute;
Data::Object::Func::Number::Mod is a function object for Data::Object::Number.
This package implements the following methods.
execute() : Object
Executes the function logic and returns the result.
my $data = Data::Object::Number->new(100); my $func = Data::Object::Func::Number::Mod->new( arg1 => $data, arg2 => 1 ); 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.