curry

# given sub { [@_] }

$code = $code->curry(1,2,3);
$code->(4,5,6); # [1,2,3,4,5,6]

The curry method returns a code reference which executes the code passing it the arguments and any additional parameters when executed. This method returns a Data::Object::Code object.

curry(CodeRef $arg1) : CodeObject

method

5 POD Errors

The following errors were encountered while parsing the POD:

Around line 10:

Unknown directive: =name

Around line 14:

Unknown directive: =usage

Around line 21:

Unknown directive: =description

Around line 27:

Unknown directive: =signature

Around line 31:

Unknown directive: =type