NAME

Data::Object::Func::Array::Get

ABSTRACT

Data-Object Array Function (Get) Class

SYNOPSIS

  use Data::Object::Func::Array::Get;

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

  $func->execute;

DESCRIPTION

Data::Object::Func::Array::Get is a function object for Data::Object::Array.

METHODS

This package implements the following methods.

execute

  execute() : Object

Executes the function logic and returns the result.

execute example
  my $data = Data::Object::Array->new([1..4]);

  my $func = Data::Object::Func::Array::Get->new(
    arg1 => $data,
    arg2 => 1
  );

  my $result = $func->execute;

mapping

  mapping() : (Str)

Returns the ordered list of named function object arguments.

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