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

NAME

Data::Object::Func::Hash::FilterInclude

ABSTRACT

Data-Object Hash Function (FilterInclude) Class

SYNOPSIS

  use Data::Object::Func::Hash::FilterInclude;

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

  $func->execute;

DESCRIPTION

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

METHODS

This package implements the following methods.

execute

  execute() : Object

Executes the function logic and returns the result.

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

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

  my $result = $func->execute;

mapping

  mapping() : (Str)

Returns the ordered list of named function object arguments.

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