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

NAME

Data::Object::Func

ABSTRACT

Data-Object Function-Object Class

SYNOPSIS

  use Data::Object::Func;

DESCRIPTION

Data::Object::Func is an abstract base class for function classes.

METHODS

This package implements the following methods.

execute

  my $func = Data::Object::Func->new();

  my $result = $func->execute;

Executes the function logic and returns the result.

configure

  my $configure = $func->configure();

Converts positional args to named args.

mapping

  my @data = $func->mapping;

Returns the ordered list of named function object arguments.

recurse

  my $recurse = $func->recurse();

Recurses into the function object.

unpack

  my $unpack = $func->unpack();

Returns a list of positional args from the named args.