NAME
Data::Object::Func::String::Split
ABSTRACT
Data-Object String Function (Split) Class
SYNOPSIS
use Data::Object::Func::String::Split;
my $func = Data::Object::Func::String::Split->new(@args);
$func->execute;
DESCRIPTION
Data::Object::Func::String::Split 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"); my $func = Data::Object::Func::String::Split->new( arg1 => $data, arg2 => qr/[aeiou]/, arg3 => 0 ); my $result = $func->execute;
mapping
mapping() : (Str)
Returns the ordered list of named function object arguments.