NAME
Perinci::Sub::Property::curry - Set arguments for function
VERSION
This document describes version 0.07 of Perinci::Sub::Property::curry (from Perl distribution Perinci-Sub-Property-curry), released on 2016-05-12.
SYNOPSIS
# 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
DESCRIPTION
This property sets arguments for function.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Perinci-Sub-Property-curry.
SOURCE
Source repository is at https://github.com/perlancar/perl-Perinci-Sub-Property-curry.
BUGS
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.
SEE ALSO
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
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.