NAME

Data::Object::Func::Any::Le

ABSTRACT

Data-Object Any Function (Le) Class

SYNOPSIS

  use Data::Object::Func::Any::Le;

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

  $func->execute;

DESCRIPTION

Data::Object::Func::Any::Le is a function object for Data::Object::Any.

METHODS

This package implements the following methods.

execute

  execute() : Object

Executes the function logic and returns the result.

execute example
  my $data = Data::Object::Any->new(sub {1});

  my $func = Data::Object::Func::Any::Le->new(
    arg1 => $data,
    arg2 => ''
  );

  my $result = $func->execute;

mapping

  mapping() : (Str)

Returns the ordered list of named function object arguments.

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