NAME
Data::Object::Func::Float::To
ABSTRACT
Data-Object Float Function (To) Class
SYNOPSIS
use Data::Object::Func::Float::To;
my $func = Data::Object::Func::Float::To->new(@args);
$func->execute;
DESCRIPTION
Data::Object::Func::Float::To is a function object for Data::Object::Float.
METHODS
This package implements the following methods.
execute
execute() : Object
Executes the function logic and returns the result.
- execute example
-
my $data = Data::Object::Float->new(1.23); my $func = Data::Object::Func::Float::To->new( arg1 => $data, arg2 => 2 ); my $result = $func->execute;
mapping
mapping() : (Str)
Returns the ordered list of named function object arguments.