NAME
Data::Object::Func::String::Replace
ABSTRACT
Data-Object String Function (Replace) Class
SYNOPSIS
use Data::Object::Func::String::Replace;
my $func = Data::Object::Func::String::Replace->new(@args);
$func->execute;
DESCRIPTION
Data::Object::Func::String::Replace is a function object for Data::Object::String.
METHODS
This package implements the following methods.
execute
my $data = Data::Object::String->new("hello");
my $func = Data::Object::Func::String::Replace->new(
arg1 => $data,
arg2 => 'ello',
arg3 => 'ey'
);
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.