Perinci::Sub::Property::curry - Set arguments for function
This document describes version 0.07 of Perinci::Sub::Property::curry (from Perl distribution Perinci-Sub-Property-curry), released on 2016-05-12.
# 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.
Please visit the project's homepage at https://metacpan.org/release/Perinci-Sub-Property-curry.
Source repository is at https://github.com/perlancar/perl-Perinci-Sub-Property-curry.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-Sub-Property-curry
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Perinci
perlancar <perlancar@cpan.org>
This software is copyright (c) 2016 by perlancar@cpan.org.
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.