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

NAME

Data::Object::Func::Hash::Set

ABSTRACT

Data-Object Hash Function (Set) Class

SYNOPSIS

  use Data::Object::Func::Hash::Set;

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

  $func->execute;

DESCRIPTION

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

METHODS

This package implements the following methods.

execute

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

  my $func = Data::Object::Func::Hash::Set->new(
    arg1 => $data,
    arg2 => 1,
    args => [10]
  );

  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.