Perinci::Sub::property::curry - Set arguments for function
version 0.02
# in function metadata args => {a=>{}, b=>{}, c=>{}}, curry => {a=>10}, # when calling function f(); # equivalent to f(a=>10) f(b=>20, c=>30); # equivalent to f(a=>10, b=>20, c=>30) f(a=>5, b=>20); # error, a has been set by curry
This property sets arguments for function.
Perinci
This module has Rinci metadata.
None are exported by default, but they are exportable.
Steven Haryanto <stevenharyanto@gmail.com>
This software is copyright (c) 2012 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Perinci::Sub::property::curry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perinci::Sub::property::curry
CPAN shell
perl -MCPAN -e shell install Perinci::Sub::property::curry
For more information on module installation, please visit the detailed CPAN module installation guide.