NAME

Data::Object::Func::Regexp::Search

ABSTRACT

Data-Object Regexp Function (Search) Class

SYNOPSIS

use Data::Object::Func::Regexp::Search;

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

$func->execute;

DESCRIPTION

Data::Object::Func::Regexp::Search is a function object for Data::Object::Regexp.

METHODS

This package implements the following methods.

execute

execute() : Object

Executes the function logic and returns the result.

execute example
my $data = Data::Object::Regexp->new(qr/test/);

my $func = Data::Object::Func::Regexp::Search->new(
  arg1 => $data,
  arg2 => 'test case'
);

my $result = $func->execute;

mapping

mapping() : (Str)

Returns the ordered list of named function object arguments.

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