Data::Object::Func::Number::Abs
Data-Object Number Function (Abs) Class
use Data::Object::Func::Number::Abs; my $func = Data::Object::Func::Number::Abs->new(@args); $func->execute;
Data::Object::Func::Number::Abs 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(-12); my $func = Data::Object::Func::Number::Abs->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.