NAME

Data::Object::Func::Code::Rcurry

ABSTRACT

Data-Object Code Function (Rcurry) Class

SYNOPSIS

  use Data::Object::Func::Code::Rcurry;

  my $func = Data::Object::Func::Code::Rcurry->new(@args);

  $func->execute;

DESCRIPTION

Data::Object::Func::Code::Rcurry is a function object for Data::Object::Code.

METHODS

This package implements the following methods.

execute

  execute() : Object

Executes the function logic and returns the result.

execute example
  my $data = Data::Object::Code->new(sub { [@_] });

  my $func = Data::Object::Func::Code::Rcurry->new(
    arg1 => $data,
    args => [1,2,3]
  );

  my $result = $func->execute;

mapping

  mapping() : (Str)

Returns the ordered list of named function object arguments.

mapping example
  my @data = $self->mapping;