The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Data::Object::Func::Number::Upto

ABSTRACT

Data-Object Number Function (Upto) Class

SYNOPSIS

  use Data::Object::Func::Number::Upto;

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

  $func->execute;

DESCRIPTION

Data::Object::Func::Number::Upto is a function object for Data::Object::Number.

METHODS

This package implements the following methods.

execute

  execute() : Object

Executes the function logic and returns the result.

execute example
  my $data = Data::Object::Number->new(23);

  my $func = Data::Object::Func::Number::Upto->new(
    arg1 => $data,
    arg2 => 14
  );

  my $result = $func->execute;

mapping

  mapping() : (Str)

Returns the ordered list of named function object arguments.

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