Data::Object::Func::Code::Curry
Data-Object Code Function (Curry) Class
use Data::Object::Func::Code::Curry; my $func = Data::Object::Func::Code::Curry->new(@args); $func->execute;
Data::Object::Func::Code::Curry is a function object for Data::Object::Code.
This package implements the following methods.
execute() : Object
Executes the function logic and returns the result.
my $data = Data::Object::Code->new(sub { [@_] }); my $func = Data::Object::Func::Code::Curry->new( arg1 => $data, args => [1,2,3] ); 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.