NAME

Data::Object::Func::Integer::Downto

ABSTRACT

Data-Object Integer Function (Downto) Class

SYNOPSIS

  use Data::Object::Func::Integer::Downto;

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

  $func->execute;

DESCRIPTION

Data::Object::Func::Integer::Downto is a function object for Data::Object::Integer.

METHODS

This package implements the following methods.

execute

  execute() : Object

Executes the function logic and returns the result.

execute example
  my $data = Data::Object::Integer->new(1);

  my $func = Data::Object::Func::Integer::Downto->new(
    arg1 => $data,
    arg2 => 0
  );

  my $result = $func->execute;

mapping

  mapping() : (Str)

Returns the ordered list of named function object arguments.

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