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

NAME

Data::Object::Func::Hash::Get

ABSTRACT

Data-Object Hash Function (Get) Class

SYNOPSIS

  use Data::Object::Func::Hash::Get;

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

  $func->execute;

DESCRIPTION

Data::Object::Func::Hash::Get 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::Get->new(
    arg1 => $data,
    arg2 => 5
  );

  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.