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.
my $func = Data::Object::Func->new(); my $result = $func->execute;
Executes the function logic and returns the result.
my $configure = $func->configure();
Converts positional args to named args.
my @data = $func->mapping;
Returns the ordered list of named function object arguments.
my $recurse = $func->recurse();
Recurses into the function object.
my $unpack = $func->unpack();
Returns a list of positional args from the named args.
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.