NAME

Data::Object::Func::Hash::Merge

ABSTRACT

Data-Object Hash Function (Merge) Class

SYNOPSIS

  use Data::Object::Func::Hash::Merge;

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

  $func->execute;

DESCRIPTION

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

METHODS

This package implements the following methods.

clone

  clone(Any $arg1) : Any

Returns a cloned data structure.

clone example
  my $clone = $self->clone();

execute

  execute() : Object

Executes the function logic and returns the result.

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

  my $func = Data::Object::Func::Hash::Merge->new(
    arg1 => $data,
    args => [{7,7,9,9}]
  );

  my $result = $func->execute;

mapping

  mapping() : (Str)

Returns the ordered list of named function object arguments.

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