Data::Object::Func
Data-Object Function-Object Class
use Data::Object::Func;
Data::Object::Func is an abstract base class for function classes.
This package implements the following methods.
configure(ClassName $arg1, Any @args) : HashRef
Converts positional args to named args.
my $configure = $func->configure();
execute() : Object
Executes the function logic and returns the result.
my $func = Data::Object::Func->new(); my $result = $func->execute;
mapping() : (Str)
Returns the ordered list of named function object arguments.
my @data = $func->mapping;
recurse(Object $arg1, Any @args) : Any
Recurses into the function object.
my $recurse = $func->recurse();
unpack() : (Any)
Returns a list of positional args from the named args.
my $unpack = $func->unpack();
To install Data::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Object
CPAN shell
perl -MCPAN -e shell install Data::Object
For more information on module installation, please visit the detailed CPAN module installation guide.