The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Object::Func::Hash::Eq

ABSTRACT

Data-Object Hash Function (Eq) Class

SYNOPSIS

  use Data::Object::Func::Hash::Eq;

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

  $func->execute;

DESCRIPTION

Data::Object::Func::Hash::Eq is a function object for Data::Object::Hash.

METHODS

This package implements the following methods.

execute

  my $data = Data::Object::Hash->new({1..8});

  my $func = Data::Object::Func::Hash::Eq->new(
    arg1 => $data,
    arg2 => {1..4}
  );

  my $result = $func->execute;

Executes the function logic and returns the result.

mapping

  my @data = $self->mapping;

Returns the ordered list of named function object arguments.