NAME

Data::Object::Func::String::Strip

ABSTRACT

Data-Object String Function (Strip) Class

SYNOPSIS

use Data::Object::Func::String::Strip;

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

$func->execute;

DESCRIPTION

Data::Object::Func::String::Strip 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");

my $func = Data::Object::Func::String::Strip->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;

AUTHOR

Al Newkirk, awncorp@cpan.org

LICENSE

Copyright (C) 2011-2019, Al Newkirk, et al.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

STATUS

SEE ALSO

To get the most out of this distribution, consider reading the following:

Data::Object::Class

Data::Object::Role

Data::Object::Rule

Data::Object::Library

Data::Object::Signatures

Contributing

GitHub