NAME

Data::Object::Func::String::Chomp

ABSTRACT

Data-Object String Function (Chomp) Class

SYNOPSIS

use Data::Object::Func::String::Chomp;

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

$func->execute;

DESCRIPTION

Data::Object::Func::String::Chomp is a function object for Data::Object::String.

METHODS

This package implements the following methods.

execute

execute() : Object

Executes the function logic and returns the result.

execute example
my $data = Data::Object::String->new("hello world\n");

my $func = Data::Object::Func::String::Chomp->new(
  arg1 => $data
);

my $result = $func->execute;

mapping

mapping() : (Str)

Returns the ordered list of named function object arguments.

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